git-svn: trunk@2277
Nigel Horne authored on 2006/09/16 14:59:14... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* MA 02110-1301, USA. |
20 | 20 |
* |
21 | 21 |
* $Log: phishcheck.c,v $ |
22 |
+ * Revision 1.5 2006/09/16 05:59:14 njh |
|
23 |
+ * Fixed compiler warning |
|
24 |
+ * |
|
22 | 25 |
* Revision 1.4 2006/09/16 05:39:54 njh |
23 | 26 |
* Tidied print statement |
24 | 27 |
* |
... | ... |
@@ -635,7 +638,7 @@ str_strip(char **begin, const char **end, const char *what, size_t what_len) |
635 | 635 |
} |
636 | 636 |
|
637 | 637 |
/* strip trailing @what */ |
638 |
- if(what_len <= (str_end - sbegin)) { |
|
638 |
+ if(what_len <= (size_t)(str_end - sbegin)) { |
|
639 | 639 |
str_end_what = str_end - what_len; |
640 | 640 |
while((str_end_what > sbegin) && |
641 | 641 |
(strncmp(str_end_what, what, what_len) == 0)) { |