From 5ea6d0d35fe8005da93b796b1ebf43660a236357 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Thu, 17 May 2012 11:11:11 -0800 Subject: Removing warnings A bit of cleanup [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12627] --- cuobjdump_to_ptxplus/sass.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cuobjdump_to_ptxplus/sass.y') diff --git a/cuobjdump_to_ptxplus/sass.y b/cuobjdump_to_ptxplus/sass.y index 96c86ff..1c67aaf 100644 --- a/cuobjdump_to_ptxplus/sass.y +++ b/cuobjdump_to_ptxplus/sass.y @@ -354,7 +354,7 @@ memorylocation : SMEMLOCATION { printf($1); g_instList->addCuobjdumpMemoryOperan char* input = $1; char* temp = new char[99]; temp[0] = input[1]; - int i=1; + unsigned i=1; while (i < strlen(input)-2) { temp[i] = input[i+2]; i++; -- cgit v1.3