@B fix compiler warnings
This commit is contained in:
parent
58a009b7db
commit
745cf493eb
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue