Browse Source

Fixed compile warning in IME test program.

Philipp Wiesemann 9 years ago
parent
commit
1e2a4439a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testime.c

+ 1 - 1
test/testime.c

@@ -289,7 +289,7 @@ int main(int argc, char *argv[]) {
                              break;
                              break;
                         case SDLK_BACKSPACE:
                         case SDLK_BACKSPACE:
                              {
                              {
-                                 int textlen=SDL_strlen(text);
+                                 size_t textlen = SDL_strlen(text);
 
 
                                  do {
                                  do {
                                      if (textlen==0)
                                      if (textlen==0)