update Sat Jan 16 06:37:00 PST 2010
[pkgsrc.git] / x11 / wmzcalock / patches / patch-wmzcalock.c
1 $NetBSD: patch-wmzcalock.c,v 1.1.1.1 2010/01/16 11:43:28 sborrill Exp $
2
3 --- wmzcalock.c.orig    2000-07-11 18:11:00.000000000 +0100
4 +++ wmzcalock.c 2010-01-14 16:24:40.000000000 +0000
5 @@ -645,7 +645,7 @@
6         {
7                 gettimeofday(&timeV, NULL);
8                 dday = ((float)hour/24)+((float)min/1440)+
9 -                       ((float)sec/86400)+((float)timeV.tv_usec/86400000000);
10 +                       ((float)sec/86400);
11         }
12  
13         switch (tmmode)
14 @@ -803,7 +803,7 @@
15         {
16                 fprintf(stderr,
17                         "Warning: Couldn't open file '%s', using font instead\n",pixmap_file);
18 -               (int *)the_pixmap = NULL;
19 +               the_pixmap = (Pixmap)NULL;
20         }
21         else
22         {