summaryrefslogtreecommitdiff
path: root/x11/gtkmm-utils/patches/patch-aa
blob: 75e825daeabb170d56ddf70b2863115534e8d919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $

--- glibmm-utils/date.cc.orig	2008-01-16 18:22:26.000000000 +0100
+++ glibmm-utils/date.cc
@@ -50,7 +50,7 @@ get_current_daytime_generic(Glib::ustrin
 
     // Obtain the time of day, and convert it to a tm struct.
     gettimeofday(&tv, NULL);
-    ptm = localtime(&tv.tv_sec);
+    ptm = localtime((time_t *)&tv.tv_sec);
 
     strftime(time_string, sizeof (time_string), format, ptm);