From 9b8cad65431b1741ece63349a1f3a9075b36a75e Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 23 Jul 2012 11:26:42 -0400 Subject: go back to declarin the size of temp --- fly-tools/FlyTrackingMain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fly-tools/FlyTrackingMain.cpp') diff --git a/fly-tools/FlyTrackingMain.cpp b/fly-tools/FlyTrackingMain.cpp index c334e58..aa6a2b6 100644 --- a/fly-tools/FlyTrackingMain.cpp +++ b/fly-tools/FlyTrackingMain.cpp @@ -663,7 +663,7 @@ void putPixel(Image* maskImage, int x, int y, int color) { cout << "Hit the male object at "< t(x,y); @@ -2297,7 +2297,7 @@ int hitTheFly(Image* maskImage, int &intersectX, int &intersectY) { return 2; } else { - char *temp; + char temp[128]; sprintf(temp, "Going through (%d,%d) \n ", x, y); vlog(temp); } -- cgit v1.2.3