--- src/modules/bouncer/custom.c.orig	Mon Oct 14 08:45:07 2002
+++ src/modules/bouncer/custom.c	Thu Nov 28 15:51:50 2002
@@ -419,13 +419,13 @@
    strncpy(errorstr, pbase, ssize);
    errorstr[ssize] = '\0';
 
-   if (!isdigit(errorstr[0])) {
+   if (!isdigit((int)(errorstr[0]))) {
 	handle_error(550, useraddy, errorstr, outfilename);
 	LMAPI->write_file(outfile, "User: %s:\n      (%d) %s\n\n", useraddy, 550, errorstr);
 
    } else {
 	errcode = atoi(errorstr);
-	for (errstr = errorstr; *errstr && isdigit(*errstr); errstr++);
+	for (errstr = errorstr; *errstr && isdigit((int)(*errstr)); errstr++);
 	if (*errstr) ++errstr;
 	handle_error(errcode, useraddy, errstr, outfilename);
 	LMAPI->write_file(outfile, "User: %s:\n      (%d) %s\n\n", useraddy, errcode, errstr);
