Commit 1e2a4439a367455c2cc95846fe0e4cbae022a345

Philipp Wiesemann 2015-12-01T22:22:58

Fixed compile warning in IME test program.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testime.c b/test/testime.c
index 4bddee1..fabfde3 100644
--- a/test/testime.c
+++ b/test/testime.c
@@ -289,7 +289,7 @@ int main(int argc, char *argv[]) {
                              break;
                         case SDLK_BACKSPACE:
                              {
-                                 int textlen=SDL_strlen(text);
+                                 size_t textlen = SDL_strlen(text);
 
                                  do {
                                      if (textlen==0)