Browse code

fix sigtool compile warning

Kevin Lin authored on 2016/03/01 03:00:15
Showing 1 changed files
... ...
@@ -2679,7 +2679,7 @@ static int decodesigmod(const char *sigmod)
2679 2679
     return 0;
2680 2680
 }
2681 2681
 
2682
-static int decodecdb(const char **tokens)
2682
+static int decodecdb(char **tokens)
2683 2683
 {
2684 2684
 
2685 2685
 	char *pt = NULL;
... ...
@@ -2883,7 +2883,7 @@ static int decodesig(char *sig, int fd)
2883 2883
 	tokens_count = cli_strtokenize(sig, ':', 12 + 1, (const char **) tokens);
2884 2884
 
2885 2885
 	if (tokens_count > 9 && tokens_count < 13) { /* cdb*/
2886
-	    return decodecdb((const char **) tokens);
2886
+	    return decodecdb(tokens);
2887 2887
 	}
2888 2888
 
2889 2889
 	if(tokens_count < 4 || tokens_count > 6) {