summary refs log tree commit diff stats
path: root/tests/sdltest.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sdltest.nim')
-rw-r--r--tests/sdltest.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sdltest.nim b/tests/sdltest.nim
index bac905b0c..ae7f1b41e 100644
--- a/tests/sdltest.nim
+++ b/tests/sdltest.nim
@@ -15,8 +15,8 @@ if SDL_Init(SDL_INIT_VIDEO) == 0:
     greeting = SDL_LoadBmp("backgrnd.bmp")

     if greeting == nil:

       write(stdout, "greeting is nil!")

-    r.x = 0

-    r.y = 0

+    r.x = 0'i16

+    r.y = 0'i16

     discard SDL_blitSurface(greeting, nil, screen, addr(r))

     discard SDL_flip(screen)

     SDL_Delay(3000)