aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2002-09-22 00:04:04 +0000
committerMax Horn2002-09-22 00:04:04 +0000
commite886ba64d218abf92555e3765b41660ac1bd0c66 (patch)
treee56907bedc2e7d34c7ee2bf25f63d5ba4cfea82e /scumm/string.cpp
parent9dfb497d75f173f95d547ff4153746ad00e067a4 (diff)
downloadscummvm-rg350-e886ba64d218abf92555e3765b41660ac1bd0c66.tar.gz
scummvm-rg350-e886ba64d218abf92555e3765b41660ac1bd0c66.tar.bz2
scummvm-rg350-e886ba64d218abf92555e3765b41660ac1bd0c66.zip
yet more warning fixes
svn-id: r4992
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index dbf1017443..7bfd834f1d 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -1075,7 +1075,7 @@ void Scumm::translateText(char * text, char * trans_buff) {
number[2] = *(text + l + 3);
number[3] = 0;
num = atol(number);
- sprintf(num_s, "%d", num);
+ sprintf(num_s, "%ld", num);
char * buf = _languageBuffer;
// determine is file encoded