diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 09:53:25 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 09:53:25 +0100 |
commit | 2288ec26df8e47d9b699e46eecd05eb3570f03a0 (patch) | |
tree | 1d204b70e027fd737f6aae1b7308ae959f5bd0b9 /package/ctorrent/patches/patch-compat_c | |
parent | 45e7808c41c2e66266f738aa5eff70ce18cc04ac (diff) | |
parent | 667bc9e981847a1d117a2fc7110948075a268bdd (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ctorrent/patches/patch-compat_c')
-rw-r--r-- | package/ctorrent/patches/patch-compat_c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ctorrent/patches/patch-compat_c b/package/ctorrent/patches/patch-compat_c new file mode 100644 index 000000000..44408b5db --- /dev/null +++ b/package/ctorrent/patches/patch-compat_c @@ -0,0 +1,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; |