[svn] Remove warning under AIX.

This commit is contained in:
hniksic 2005-06-24 15:57:52 -07:00
parent 00196c4303
commit ac32102041
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
* cookies.c (parse_set_cookies): Cast pointer subtraction to int
before using it with %d; AIX compiler warns on this.
Reported by Jens Schleusener.
2005-06-24 Hrvoje Niksic <hniksic@xemacs.org>
* http.c (gethttp): Don't prepend / here.

View File

@ -636,7 +636,7 @@ parse_set_cookies (const char *sc,
if (!silent)
logprintf (LOG_NOTQUIET,
_("Syntax error in Set-Cookie: %s at position %d.\n"),
escnonprint (sc), p - sc);
escnonprint (sc), (int) (p - sc));
return NULL;
}