Advertisement
Guest User

Untitled

a guest
Dec 31st, 2015
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. $ crystal test.cr
  2. Error in ./test.cr:30: error instantiating ->move_piece_down(UInt32, ::Pointer(Void))
  3.  
  4. SDL2.add_timer(1000_u32, ->move_piece_down(UInt32, Void*))
  5. ^
  6.  
  7. instantiating 'move_piece_down(UInt32, Pointer(Void))'
  8.  
  9. in ./test.cr:17: type must be UInt32, not Int32
  10.  
  11. def move_piece_down(interval : UInt32, param : Void*) : UInt32
  12. ^~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement