1 |
unnilennium |
1.1 |
diff -ur clearsilver-0.10.5/cs/csparse.c clearsilver-0.10.5-option3/cs/csparse.c |
2 |
|
|
--- clearsilver-0.10.5/cs/csparse.c 2007-07-12 04:37:34.000000000 +0200 |
3 |
|
|
+++ clearsilver-0.10.5-option3/cs/csparse.c 2008-04-14 18:55:58.000000000 +0200 |
4 |
|
|
@@ -3717,7 +3717,7 @@ |
5 |
|
|
if (val.op_type & (CS_TYPE_VAR | CS_TYPE_STRING)) |
6 |
|
|
{ |
7 |
|
|
char *s = arg_eval(parse, &val); |
8 |
|
|
- if (s) result->n = ne_crc((unsigned char *)s, strlen(s)); |
9 |
|
|
+ if (s) result->n = (int) ne_crc((unsigned char *)s, strlen(s)); |
10 |
|
|
} |
11 |
|
|
if (val.alloc) free(val.s); |
12 |
|
|
return STATUS_OK; |