diff options
Diffstat (limited to 'util/igetevent.c')
| -rw-r--r-- | util/igetevent.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/util/igetevent.c b/util/igetevent.c index 9d1786c..1c420e2 100644 --- a/util/igetevent.c +++ b/util/igetevent.c @@ -169,7 +169,7 @@ extern void free_sdr_cache(uchar *pret); /*see isensor.c*/   * Global variables    */  static char * progname  = "igetevent"; -static char * progver   = "2.98"; +static char * progver   = "2.99";  static char   fdebug    = 0;  static char   fipmilan  = 0;  static char   frunonce  = 0; @@ -757,7 +757,7 @@ static int startevent_sel(ushort *precid, uint *ptime)      if (fdebug) msgout("start: idxfile=%s fd=%p\n",idxfile,fd);      if (fd != NULL) {          // Read the file, get savtime & savid -        rv = fscanf(fd,"%x %x",&t,&r); +        rv = fscanf(fd,"%x %x",&t,(uint *)&r);          fclose(fd);          if (r == LAST_REC) r = 0;  	rv = 0; /*read it, success*/  | 
