From 69bea0b3462f4c393a28411bccd96e43f0fe52ee Mon Sep 17 00:00:00 2001 From: Ito Hiroyuki Date: Sat, 24 Jul 2010 04:30:40 +0000 Subject: suppress compile warnings. --- file.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/file.c b/file.c index a9e1bf2..c53077b 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.259 2010/07/19 23:34:00 htrb Exp $ */ +/* $Id: file.c,v 1.260 2010/07/24 04:30:40 htrb Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -1216,7 +1216,7 @@ AuthBasicCred(struct http_auth *ha, Str uname, Str pw, ParsedURL *pu, */ static Str -digest_hex(char *p) +digest_hex(unsigned char *p) { char *h = "0123456789abcdef"; Str tmp = Strnew_size(MD5_DIGEST_LENGTH * 2 + 1); @@ -1239,7 +1239,7 @@ AuthDigestCred(struct http_auth *ha, Str uname, Str pw, ParsedURL *pu, HRequest *hr, FormList *request) { Str tmp, a1buf, a2buf, rd, s; - char md5[MD5_DIGEST_LENGTH + 1]; + unsigned char md5[MD5_DIGEST_LENGTH + 1]; Str uri = HTTPrequestURI(pu, hr); char nc[] = "00000001"; @@ -1251,7 +1251,7 @@ AuthDigestCred(struct http_auth *ha, Str uname, Str pw, ParsedURL *pu, static union { int r[4]; - char s[sizeof(int) * 4]; + unsigned char s[sizeof(int) * 4]; } cnonce_seed; int qop_i = QOP_NONE; @@ -5264,6 +5264,7 @@ textlist_feed() return NULL; } +static int ex_efct(int ex) { int effect = 0; -- cgit v1.2.3