diff options
author | pooka <pooka> | 1999-12-17 10:30:15 +0000 |
---|---|---|
committer | pooka <pooka> | 1999-12-17 10:30:15 +0000 |
commit | 7f18118123a2725ca19bd9f74a21e1385252e71b (patch) | |
tree | 6b5f1532cd6c19ce03dc638ef691160fb3aab8ac /news/slrn/patches | |
parent | 78f2a8540d34dffadc830b309d9e58cc68ea660d (diff) | |
download | pkgsrc-7f18118123a2725ca19bd9f74a21e1385252e71b.tar.gz |
Make this work on alpha
Diffstat (limited to 'news/slrn/patches')
-rw-r--r-- | news/slrn/patches/patch-ad | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/news/slrn/patches/patch-ad b/news/slrn/patches/patch-ad new file mode 100644 index 00000000000..6a31eb8adf7 --- /dev/null +++ b/news/slrn/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1 1999/12/17 10:30:16 pooka Exp $ + +--- src/util.c.orig Thu Jul 15 10:27:29 1999 ++++ src/util.c Thu Dec 16 22:06:47 1999 +@@ -148,7 +148,7 @@ + int slrn_case_strncmp (unsigned char *a, register unsigned char *b, register unsigned int n) /*{{{*/ + { + register unsigned char cha, chb, *bmax; +- register int diff = a - b; ++ register long diff = a - b; + + bmax = b + n; + while (b < bmax) +@@ -170,7 +170,7 @@ + int slrn_case_strcmp (unsigned char *a, register unsigned char *b) /*{{{*/ + { + register unsigned char cha, chb; +- register int diff = a - b; ++ register long diff = a - b; + + while (1) + { |