Browse code

add paranthesis fix compiler warning

git-svn: trunk@3946

Török Edvin authored on 2008/07/15 01:24:43
Showing 1 changed files
... ...
@@ -498,7 +498,7 @@ struct screnc_state {
498 498
 };
499 499
 
500 500
 /* inplace decoding, so that we can normalize it later */
501
-static void *screnc_decode(unsigned char *ptr, struct screnc_state *s)
501
+static void screnc_decode(unsigned char *ptr, struct screnc_state *s)
502 502
 {
503 503
 	uint8_t  value;
504 504
 	unsigned char *dst = ptr;
... ...
@@ -1066,8 +1066,8 @@ static int cli_html_normalise(int fd, m_area_t *m_area, const char *dirname, tag
1066 1066
 					}
1067 1067
 				} else if(strcmp(tag, "%@") == 0) {
1068 1068
 					arg_value = html_tag_arg_value(&tag_args, "language");
1069
-					if(arg_value && strcasecmp(arg_value,"jscript.encode") == 0||
1070
-							strcasecmp(arg_value, "vbscript.encode") == 0) {
1069
+					if(arg_value && (strcasecmp(arg_value,"jscript.encode") == 0||
1070
+							strcasecmp(arg_value, "vbscript.encode") == 0)) {
1071 1071
 
1072 1072
 						saved_next_state = next_state;
1073 1073
 						next_state = state;