From 2924d42cdae8fda3017668c1c9b04c4c0085ea97 Mon Sep 17 00:00:00 2001 From: nishi Date: Sat, 22 Jun 2024 00:06:54 +0000 Subject: [PATCH] should cast there git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@415 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Library/dataworks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/dataworks.c b/Library/dataworks.c index 8b889bc..42a6b71 100644 --- a/Library/dataworks.c +++ b/Library/dataworks.c @@ -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__) -- 2.43.0