gnomeicu r2732 - in trunk: . src
- From: Tester svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomeicu r2732 - in trunk: . src
- Date: Mon, 5 Jan 2009 16:23:56 +0000 (UTC)
Author: Tester
Date: Mon Jan 5 16:23:56 2009
New Revision: 2732
URL: http://svn.gnome.org/viewvc/gnomeicu?rev=2732&view=rev
Log:
2009-01-05 Olivier Crete <tester tester ca>
* src/personal_info.c: Prevent crash on time_t size mismatch
Modified:
trunk/ChangeLog
trunk/src/personal_info.c
Modified: trunk/src/personal_info.c
==============================================================================
--- trunk/src/personal_info.c (original)
+++ trunk/src/personal_info.c Mon Jan 5 16:23:56 2009
@@ -233,7 +233,8 @@
char timebuf[100];
if( kontakt->member_since) {
- mytm = localtime((time_t*)&kontakt->member_since);
+ time_t tmp = kontakt->member_since;
+ mytm = localtime(&tmp);
}
if (mytm) {
strftime(timebuf,100,"%c",mytm);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]