summaryrefslogtreecommitdiff
path: root/example/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/test.cpp')
-rw-r--r--example/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/test.cpp b/example/test.cpp
index aebca71..afef931 100644
--- a/example/test.cpp
+++ b/example/test.cpp
@@ -26,7 +26,7 @@ private:
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)
{