@B fix compiler warnings

This commit is contained in:
bebbo 2017-03-25 11:43:19 +01:00
parent 58a009b7db
commit 745cf493eb
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ int __initlibraries = 0;
struct DosLibrary *DOSBase = NULL;
int main() {
if ((DOSBase = (struct DosLibrary *) OpenLibrary("dos.library", 34))) {
if ((DOSBase = (struct DosLibrary *) OpenLibrary((UBYTE*)"dos.library", 34))) {
Write(Output(), "Hello world!\n", 13);
CloseLibrary((struct Library *)DOSBase);
}

View File

@ -1,6 +1,6 @@
#include <proto/dos.h>
int main(int argc, char **argv) {
PutStr("Hello world!\n");
PutStr((UBYTE*)"Hello world!\n");
return 0;
}