Mercurial > pidgin
comparison libpurple/protocols/oscar/clientlogin.c @ 27446:036d94041e09
Fix this compiler warning:
clientlogin.c: In function ¡Æsend_start_oscar_session¡Ç:
clientlogin.c:293: warning: format ¡Æ%zu¡Ç expects type ¡Æsize_t¡Ç, but argument 4 has type ¡Ætime_t¡Ç
I'm not sure it's 100% right this way but it preserves what was there
before for 64bit CPUs and makes my old crap happy too.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 10 Jul 2009 02:26:37 +0000 |
parents | 4f24d5da4cb3 |
children | 2987756bc600 |
comparison
equal
deleted
inserted
replaced
27445:065294d973b4 | 27446:036d94041e09 |
---|---|
286 | 286 |
287 /* Construct the GET parameters */ | 287 /* Construct the GET parameters */ |
288 query_string = g_strdup_printf("a=%s" | 288 query_string = g_strdup_printf("a=%s" |
289 "&f=xml" | 289 "&f=xml" |
290 "&k=%s" | 290 "&k=%s" |
291 "&ts=%zu" | 291 "&ts=%" PURPLE_TIME_T_MODIFIER |
292 "&useTLS=0", | 292 "&useTLS=0", |
293 oscar_auth_url_encode(token), get_client_key(od), hosttime); | 293 oscar_auth_url_encode(token), get_client_key(od), hosttime); |
294 signature = generate_signature("GET", URL_START_OSCAR_SESSION, | 294 signature = generate_signature("GET", URL_START_OSCAR_SESSION, |
295 query_string, session_key); | 295 query_string, session_key); |
296 url = g_strdup_printf(URL_START_OSCAR_SESSION "?%s&sig_sha256=%s", | 296 url = g_strdup_printf(URL_START_OSCAR_SESSION "?%s&sig_sha256=%s", |