]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
fixed a couple of minor things
authorNicholas Nethercote <njn@valgrind.org>
Mon, 27 Aug 2007 22:18:58 +0000 (22:18 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 27 Aug 2007 22:18:58 +0000 (22:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6785

lackey/lk_main.c
massif/hp2ps/Main.c

index d6a5fdc5ffb0a849b903183c3588f3f479440966..028a1aaa2d6804ed88fccf43e706077ac20d6c2d 100644 (file)
@@ -319,9 +319,9 @@ static Int type2index ( IRType ty )
    }
 }
 
-static HChar* nameOfTypeIndex ( IRType ty )
+static HChar* nameOfTypeIndex ( Int i )
 {
-   switch (ty) {
+   switch (i) {
       case 0: return "I1";   break;
       case 1: return "I8";   break;
       case 2: return "I16";  break;
index d740f33aebbe4205952bf3cf0fac6104f5bc5473..42fdf7495a0dcf84c72576c92bb697c8fe531fc6 100644 (file)
@@ -90,6 +90,7 @@ int main(int argc, char* argv[])
                  case '-':
                    iflag = -1;
                  case '+':
+                    break;
                  default:
                    iflag = 1;
                }