summaryrefslogtreecommitdiff
path: root/util/igetevent.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:28 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:28 +0200
commit55adddbc16f65732b57ab8585c47001fced91d77 (patch)
tree27e8239d48c8a6b353db356aff92ee4d225c0a0e /util/igetevent.c
parentd3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (diff)
Imported Upstream version 2.9.9upstream/2.9.9
Diffstat (limited to 'util/igetevent.c')
-rw-r--r--util/igetevent.c4
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*/