From 82f2f59b49f15107b6ce43a79d72231cb490f5f2 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 7 Mar 2019 04:03:53 +0100 Subject: Moved to clang --- example/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/test.cpp') 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) { -- cgit v1.2.3