d0e9c3f08c
This is ircd-hybrid, the highly modified (and hopefully improved) variant of the original ircd program by Jarkko Oikarinen. Tested by Alex Popov, Sebastian Trahm, okan@ and sthen@. Thanks! Hints and help from fgsch@ and sthen@. ok sthen@
18 lines
692 B
Plaintext
18 lines
692 B
Plaintext
$OpenBSD: patch-src_s_serv_c,v 1.1.1.1 2009/01/28 23:35:07 bernd Exp $
|
|
|
|
Prevent warning on unsigned-char arches.
|
|
|
|
"warning: comparison is always true due to limited range of data type"
|
|
|
|
--- src/s_serv.c.orig Tue Jan 27 09:26:50 2009
|
|
+++ src/s_serv.c Tue Jan 27 09:27:17 2009
|
|
@@ -2324,7 +2324,7 @@ cryptlink_error(struct Client *client_p, const char *t
|
|
static char base64_chars[] =
|
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
|
|
-static char base64_values[] =
|
|
+static signed char base64_values[] =
|
|
{
|
|
/* 00-15 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
/* 16-31 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|