about summary refs log tree commit diff stats
path: root/src/parsdate.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2012-08-03 18:36:10 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2012-08-03 18:36:10 -0400
commit526bf441a7a6b68bfa39cca1115040444775e834 (patch)
tree982730fb702410eb2b1b01b89e85d36078481af5 /src/parsdate.c
parent9e08feeb8ddd48fb1a802d49491fbf2249328f0b (diff)
downloadlynx-snapshots-526bf441a7a6b68bfa39cca1115040444775e834.tar.gz
snapshot of project "lynx", label v2-8-8dev_12i
Diffstat (limited to 'src/parsdate.c')
-rw-r--r--src/parsdate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsdate.c b/src/parsdate.c
index fb486698..94e594a0 100644
--- a/src/parsdate.c
+++ b/src/parsdate.c
@@ -21,7 +21,7 @@ static const char yysccsid[] = "@(#)yaccpar	1.9 (Berkeley) 02/21/93";
 #include <LYLeaks.h>
 
 /*
- *  $LynxId: parsdate.c,v 1.13 2012/02/10 01:37:59 tom Exp $
+ *  $LynxId: parsdate.c,v 1.14 2012/08/03 18:36:10 tom Exp $
  *
  *  This module is adapted and extended from tin, to use for LYmktime().
  *
@@ -1008,7 +1008,7 @@ static int yygrowstack(YYSTACKDATA *data)
     else if ((newsize *= 2) > YYMAXDEPTH)
         newsize = YYMAXDEPTH;
 
-    i = data->s_mark - data->s_base;
+    i = (int) (data->s_mark - data->s_base);
     newss = (short *)realloc(data->s_base, newsize * sizeof(*newss));
     if (newss == 0)
         return -1;