diff options
Diffstat (limited to 'example/pong.cpp')
-rw-r--r-- | example/pong.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/pong.cpp b/example/pong.cpp index 21d0d43..d93bc1a 100644 --- a/example/pong.cpp +++ b/example/pong.cpp @@ -37,7 +37,7 @@ public: class edge : public cObject { public: - edge(unsigned int x, unsigned int y) { setSize(x,y); drawLine('#', {0,0},{x-1,y-1}, true, _COL_DEFAULT);} + edge(unsigned int x, unsigned int y) { setSize(x,y); drawLine('#', {0,0},{(int)x-1,(int)y-1}, true, _COL_DEFAULT);} ~edge() { destruct(); } virtual int onCollisionPassive(sPos _hit) { |