[commit: packages/time] master: fix build breakage on Linux (a499f3f)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:56:22 UTC 2015
Repository : ssh://git@git.haskell.org/time
On branch : master
Link : http://git.haskell.org/packages/time.git/commitdiff/a499f3f06163bbf84bf104334db88b28de599d63
>---------------------------------------------------------------
commit a499f3f06163bbf84bf104334db88b28de599d63
Author: Simon Marlow <simonmar at microsoft.com>
Date: Mon May 29 05:42:50 2006 -0700
fix build breakage on Linux
darcs-hash:20060529124250-760e2-12bae2db16624f19ae6462abe185ae79d3a04ad2
>---------------------------------------------------------------
a499f3f06163bbf84bf104334db88b28de599d63
cbits/HsTime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cbits/HsTime.c b/cbits/HsTime.c
index a63836f..6fd8342 100644
--- a/cbits/HsTime.c
+++ b/cbits/HsTime.c
@@ -6,7 +6,7 @@ long int get_current_timezone_seconds (time_t t,int* pdst,char const* * pname)
struct tm* ptm;
long gmtoff;
int dst;
- char *name;
+ const char *name;
#if HAVE_LOCALTIME_R
struct tm tmd;
More information about the ghc-commits
mailing list