+2001-06-18 Ezra Peisach <epeisach@mit.edu>
+
+ * gss-client.c (parse_oid): Cast argument to isdigit() to int.
+
+ * gss-server.c (sign_server): Cast argument to isspace() to int.
+
2001-05-15 Danilo Almeida <dalmeida@mit.edu>
* gss-server.c (usage): Fix usage info *again* to reflect that
* PERFORMANCE OF THIS SOFTWARE.
*/
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
gss_buffer_desc tok;
OM_uint32 maj_stat, min_stat;
- if (isdigit(mechanism[0])) {
+ if (isdigit((int) mechanism[0])) {
mechstr = malloc(strlen(mechanism)+5);
if (!mechstr) {
fprintf(stderr, "Couldn't allocate mechanism scratch!\n");
* PERFORMANCE OF THIS SOFTWARE.
*/
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
if (log) {
fprintf(log, "Received message: ");
cp = msg_buf.value;
- if ((isprint(cp[0]) || isspace(cp[0])) &&
- (isprint(cp[1]) || isspace(cp[1]))) {
+ if ((isprint((int) cp[0]) || isspace((int) cp[0])) &&
+ (isprint((int) cp[1]) || isspace((int) cp[1]))) {
fprintf(log, "\"%.*s\"\n", (int) msg_buf.length,
(char *) msg_buf.value);
} else {