[w3m-dev 04326] suppress compile warnings
Hiroyuki Ito <[email protected]> Sat, 24 Jul 2010 13:28:16 +0900 (JST)
| Newsgroups | gmane.comp.web.w3m.devel |
|---|---|
| Message-ID | <[email protected]> |
Index: file.c
===================================================================
RCS file: /cvsroot/w3m/w3m/file.c,v
retrieving revision 1.259
diff -u -r1.259 file.c
--- file.c 19 Jul 2010 23:34:00 -0000 1.259
+++ file.c 24 Jul 2010 04:25:27 -0000
@@ -1216,7 +1216,7 @@
*/
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 @@
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 @@
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 @@
return NULL;
}
+static int
ex_efct(int ex)
{
int effect = 0;