Commit 96ced7f6 authored by Jim Fulton's avatar Jim Fulton

Added a cast to get rid of a compiler warning.

parent eeca2c9f
......@@ -85,7 +85,7 @@
static char TimeStamp_module_documentation[] =
""
"\n$Id: TimeStamp.c,v 1.4 1999/06/10 20:46:44 jim Exp $"
"\n$Id: TimeStamp.c,v 1.5 1999/07/13 21:12:54 jim Exp $"
;
#include <stdlib.h>
......@@ -202,7 +202,7 @@ TimeStamp___init__(TimeStamp *self, PyObject *args)
s[2]=(v%65536)/256;
s[3]=v%256;
sec /= sconv;
v=sec;
v=(unsigned int)sec;
s[4]=v/16777216;
s[5]=(v%16777216)/65536;
s[6]=(v%65536)/256;
......@@ -486,7 +486,7 @@ void
initTimeStamp()
{
PyObject *m, *d;
char *rev="$Revision: 1.4 $";
char *rev="$Revision: 1.5 $";
if (TimeStamp_init_gmoff() < 0) return;
if (! ExtensionClassImported) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment