Mercurial > pidgin
diff libpurple/win32/win32dep.c @ 22546:d93577159f2a
printf format warning fixes.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 24 Mar 2008 16:15:39 +0000 |
parents | 3cc856ca2338 |
children | 1cd99421c696 |
line wrap: on
line diff
--- a/libpurple/win32/win32dep.c Mon Mar 24 16:11:21 2008 +0000 +++ b/libpurple/win32/win32dep.c Mon Mar 24 16:15:39 2008 +0000 @@ -125,10 +125,10 @@ /* Determine Purple Paths during Runtime */ /* Get paths to special Windows folders. */ -char *wpurple_get_special_folder(int folder_type) { +gchar *wpurple_get_special_folder(int folder_type) { static LPFNSHGETFOLDERPATHA MySHGetFolderPathA = NULL; static LPFNSHGETFOLDERPATHW MySHGetFolderPathW = NULL; - char *retval = NULL; + gchar *retval = NULL; if (!MySHGetFolderPathW) { MySHGetFolderPathW = (LPFNSHGETFOLDERPATHW) @@ -464,7 +464,7 @@ ZeroMemory(&ie_proxy_config, sizeof(ie_proxy_config)); if (!MyWinHttpGetIEProxyConfig(&ie_proxy_config)) { - purple_debug_error("wpurple", "Error reading Windows Proxy Settings(%u).\n", GetLastError()); + purple_debug_error("wpurple", "Error reading Windows Proxy Settings(%lu).\n", GetLastError()); return FALSE; }