git-svn: trunk@3639
Török Edvin authored on 2008/02/15 21:24:45... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Fri Feb 15 14:10:46 EET 2008 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * libclamav/textnorm.c: need to include clamav-config.h (thanks Nigel) |
|
4 |
+ |
|
1 | 5 |
Fri Feb 15 13:02:09 CET 2008 (acab) |
2 | 6 |
----------------------------------- |
3 | 7 |
* docs: describe new limit options and defaults |
... | ... |
@@ -19,6 +19,10 @@ |
19 | 19 |
* |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#if HAVE_CONFIG_H |
|
23 |
+#include "clamav-config.h" |
|
24 |
+#endif |
|
25 |
+ |
|
22 | 26 |
#include <stdlib.h> |
23 | 27 |
#include <stdio.h> |
24 | 28 |
#include <ctype.h> |
... | ... |
@@ -112,6 +116,6 @@ ssize_t text_normalize_buffer(struct text_norm_state *state, const unsigned char |
112 | 112 |
} |
113 | 113 |
} |
114 | 114 |
state->out_pos = p - state->out; |
115 |
- return i; |
|
115 |
+ return (ssize_t)i; |
|
116 | 116 |
} |
117 | 117 |
|