/pidgin/main: d1c41298bacd: Use gint64 to print a time_t. There ...

Michael McConville <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: d1c41298bacdaeb671460293ca5c413bf4dbecaf
Author:	 Michael McConville <[email protected]>
Date:	 2015-08-10 19:09 -0400
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/d1c41298bacd

Description:

Use gint64 to print a time_t. There are likely *many* more of these to come.

diffstat:

 libpurple/protocols/oscar/clientlogin.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff --git a/libpurple/protocols/oscar/clientlogin.c b/libpurple/protocols/oscar/clientlogin.c
--- a/libpurple/protocols/oscar/clientlogin.c
+++ b/libpurple/protocols/oscar/clientlogin.c
@@ -378,12 +378,12 @@ static void send_start_oscar_session(Osc
 			"&distId=%d"
 			"&f=xml"
 			"&k=%s"
-			"&ts=%" PURPLE_TIME_T_MODIFIER
+			"&ts=%" G_GINT64_FORMAT
 			"&useTLS=%d",
 			purple_url_encode(token),
 			oscar_get_ui_info_int(od->icq ? "prpl-icq-distid" : "prpl-aim-distid", 0x00000611),
 			get_client_key(od),
-			hosttime,
+			(gint64)hosttime,
 			strcmp(encryption_type, OSCAR_NO_ENCRYPTION) != 0 ? 1 : 0);
 	signature = generate_signature("GET", get_start_oscar_session_url(od),
 			query_string, session_key);

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.