Author: des
Date: Mon Mar 29 13:20:52 2010
New Revision: 205834
URL: http://svn.freebsd.org/changeset/base/205834

Log:
  size_t is not equivalent to int on 64-bit platforms.
  
  Pointy hat to:        edwin@

Modified:
  head/usr.bin/calendar/parsedata.c

Modified: head/usr.bin/calendar/parsedata.c
==============================================================================
--- head/usr.bin/calendar/parsedata.c   Mon Mar 29 12:32:16 2010        
(r205833)
+++ head/usr.bin/calendar/parsedata.c   Mon Mar 29 13:20:52 2010        
(r205834)
@@ -39,9 +39,9 @@ __FBSDID("$FreeBSD$");
 static char *showflags(int flags);
 static int isonlydigits(char *s, int nostar);
 static const char *getmonthname(int i);
-static int checkmonth(char *s, int *len, int *offset, const char **month);
+static int checkmonth(char *s, size_t *len, size_t *offset, const char 
**month);
 static const char *getdayofweekname(int i);
-static int checkdayofweek(char *s, int *len, int *offset, const char **dow);
+static int checkdayofweek(char *s, size_t *len, size_t *offset, const char 
**dow);
 static int indextooffset(char *s);
 static int parseoffset(char *s);
 static char *floattoday(int year, double f);
@@ -771,7 +771,7 @@ getmonthname(int i)
 }
 
 static int
-checkmonth(char *s, int *len, int *offset, const char **month)
+checkmonth(char *s, size_t *len, size_t *offset, const char **month)
 {
        struct fixs *n;
        int i;
@@ -822,7 +822,7 @@ getdayofweekname(int i)
 }
 
 static int
-checkdayofweek(char *s, int *len, int *offset, const char **dow)
+checkdayofweek(char *s, size_t *len, size_t *offset, const char **dow)
 {
        struct fixs *n;
        int i;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to