blob: 44408b5db1cf27f8fbc01440efd106b13663b2b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- ctorrent-dnh3.3.2.orig/compat.c 2008-06-15 02:00:19.000000000 +0200
+++ ctorrent-dnh3.3.2/compat.c 2014-01-02 18:21:09.000000000 +0100
@@ -67,8 +67,8 @@ int snprintf(char *str, size_t size, con
char *strnstr(const char *haystack, const char *needle, size_t haystacklen)
{
char *p;
- ssize_t plen;
- ssize_t len = strlen(needle);
+ size_t plen;
+ size_t len = strlen(needle);
if( *needle == '\0' )
return (char *)haystack;
|