From 0cc777caa9e55f8e0d2bbba9cb645bde7cfd9ffc Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Sun, 12 Jan 2014 21:30:21 -0800 Subject: [PATCH] fix windows warning about signed unsigned mismatch --- voxel-edit/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxel-edit/src/main.cpp b/voxel-edit/src/main.cpp index 9eb39b5417..9f655061ed 100644 --- a/voxel-edit/src/main.cpp +++ b/voxel-edit/src/main.cpp @@ -174,7 +174,7 @@ bool copyAndFillOperation(OctreeElement* element, void* extraData) { sprintf(outputMessage,"Completed: %d%% (%lu of %lu) - Creating voxel %lu at [%f,%f,%f,%f]", percentDone,args->inCount,args->originalCount,args->outCount,x,y,z,s); printf("%s",outputMessage); - for (int b = 0; b < strlen(outputMessage); b++) { + for (unsigned int b = 0; b < strlen(outputMessage); b++) { printf("\b"); } @@ -187,7 +187,7 @@ bool copyAndFillOperation(OctreeElement* element, void* extraData) { sprintf(outputMessage,"Completed: %d%% (%lu of %lu) - Creating fill voxel %lu at [%f,%f,%f,%f]", percentDone,args->inCount,args->originalCount,args->outCount,x,y,z,s); printf("%s",outputMessage); - for (int b = 0; b < strlen(outputMessage); b++) { + for (unsigned int b = 0; b < strlen(outputMessage); b++) { printf("\b"); } }