aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
authorJoost Peters2005-04-05 17:05:12 +0000
committerJoost Peters2005-04-05 17:05:12 +0000
commit72f3868c1fdfed9da5f9db4870f28bc0e4210c0b (patch)
tree85db17ac1ccd51e1793bc5391d6f8281f6a84172 /gob
parentda2dea39f5025d34bd08016e8da7017690f92c23 (diff)
downloadscummvm-rg350-72f3868c1fdfed9da5f9db4870f28bc0e4210c0b.tar.gz
scummvm-rg350-72f3868c1fdfed9da5f9db4870f28bc0e4210c0b.tar.bz2
scummvm-rg350-72f3868c1fdfed9da5f9db4870f28bc0e4210c0b.zip
fix warnings
svn-id: r17398
Diffstat (limited to 'gob')
-rw-r--r--gob/util.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gob/util.cpp b/gob/util.cpp
index 12f408f3d7..b670642164 100644
--- a/gob/util.cpp
+++ b/gob/util.cpp
@@ -329,8 +329,8 @@ void util_cutFromStr(char *str, int16 from, int16 cutlen) {
int16 util_strstr(const char *str1, char *str2) {
char c;
- int16 len1;
- int16 i;
+ uint16 len1;
+ uint16 i;
log_write("util_strstr: str1 = %s, str2 = %s\n", str1, str2);
@@ -406,14 +406,14 @@ void util_deleteList(Util_List * list) {
free((char *)list);
}
-char *util_str1 =
+char util_str1[] =
" ' + - :0123456789: <=> abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz ";
-char *util_str2 =
+char util_str2[] =
" ueaaaaceeeiii ooouu aioun ";
-char *util_str3 = " ";
+char util_str3[] = " ";
void util_prepareStr(char *str) {
- int16 i;
+ uint16 i;
int16 j;
char buf[300];