]> Nishi Git Mirror - dataworks.git/commitdiff
should cast there
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 22 Jun 2024 00:06:54 +0000 (00:06 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 22 Jun 2024 00:06:54 +0000 (00:06 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@415 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Library/dataworks.c

index 8b889bcdf08d5b17d7b9797d881b8e676f8055c0..42a6b718b4a61afd9c54444a7ebb80fbc6618837 100644 (file)
@@ -100,7 +100,7 @@ char* dataworks_get_compiler(void) {
        char* ver = malloc(513);
        memset(ver, 0, 513);
 #if defined(__WATCOMC__)
-       sprintf(ver, "Open Watcom %d.%d", __WATCOMC__ / 100, __WATCOMC__ % 100);
+       sprintf(ver, "Open Watcom %d.%d", (int)__WATCOMC__ / 100, (int)__WATCOMC__ % 100);
 #elif defined(__clang__)
        sprintf(ver, "%s", __VERSION__);
 #elif defined(__PCC__)