Fixed compile warning in IME test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 01 Dec 2015 22:22:58 +0100
changeset 9938 c1bdce8e9c64
parent 9937 526e4079b1df
child 9939 6ccf11a01cb5
Fixed compile warning in IME test program.
test/testime.c
--- a/test/testime.c	Tue Dec 01 22:21:29 2015 +0100
+++ b/test/testime.c	Tue Dec 01 22:22:58 2015 +0100
@@ -289,7 +289,7 @@
                              break;
                         case SDLK_BACKSPACE:
                              {
-                                 int textlen=SDL_strlen(text);
+                                 size_t textlen = SDL_strlen(text);
 
                                  do {
                                      if (textlen==0)