Austin English : wininet: Avoid size_t in ERR().
Alexandre Julliard
julliard at winehq.org
Fri Jul 2 10:21:55 CDT 2010
Module: wine
Branch: master
Commit: eff0aeccef18451088a90e37fdd305878961c0fb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eff0aeccef18451088a90e37fdd305878961c0fb
Author: Austin English <austinenglish at gmail.com>
Date: Thu Jul 1 13:02:01 2010 -0500
wininet: Avoid size_t in ERR().
---
dlls/wininet/cookie.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/cookie.c b/dlls/wininet/cookie.c
index 75cf049..7dfd2a8 100644
--- a/dlls/wininet/cookie.c
+++ b/dlls/wininet/cookie.c
@@ -431,7 +431,7 @@ static BOOL set_cookie(LPCWSTR domain, LPCWSTR path, LPCWSTR cookie_name, LPCWST
value = data = heap_strdupW(cookie_data);
if (!data)
{
- ERR("could not allocate %zu bytes for the cookie data buffer\n", (strlenW(cookie_data) + 1) * sizeof(WCHAR));
+ ERR("could not allocate the cookie data buffer\n");
return FALSE;
}
@@ -457,7 +457,7 @@ static BOOL set_cookie(LPCWSTR domain, LPCWSTR path, LPCWSTR cookie_name, LPCWST
if (value == NULL)
{
HeapFree(GetProcessHeap(), 0, data);
- ERR("could not allocate %zu bytes for the cookie value buffer\n", (ptr - data) * sizeof(WCHAR));
+ ERR("could not allocate the cookie value buffer\n");
return FALSE;
}
strcpyW(value, data);
More information about the wine-cvs
mailing list