mirror of
https://frontier.innolan.net/github/amigaos-cross-toolchain6.git
synced 2024-10-19 10:29:55 +00:00
@B fix compiler warnings
This commit is contained in:
@@ -9,7 +9,7 @@ int __initlibraries = 0;
|
|||||||
struct DosLibrary *DOSBase = NULL;
|
struct DosLibrary *DOSBase = NULL;
|
||||||
|
|
||||||
int main() {
|
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);
|
Write(Output(), "Hello world!\n", 13);
|
||||||
CloseLibrary((struct Library *)DOSBase);
|
CloseLibrary((struct Library *)DOSBase);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include <proto/dos.h>
|
#include <proto/dos.h>
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
PutStr("Hello world!\n");
|
PutStr((UBYTE*)"Hello world!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user