summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
Diffstat (limited to 'lib/impure')
-rwxr-xr-xlib/impure/graphics.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/graphics.nim b/lib/impure/graphics.nim
index 1d538b790..b3bc578d0 100755
--- a/lib/impure/graphics.nim
+++ b/lib/impure/graphics.nim
@@ -22,7 +22,7 @@ type
 
   PSurface* = ref TSurface ## a surface to draw onto
   TSurface* {.pure, final.} = object
-    w*, h*: int
+    w*, h*: Natural
     s*: sdl.PSurface
   
   EGraphics* = object of EIO