Blame SOURCES/xinetd-2.3.14-fix-type-punned-ptr.patch

4a9f2a
diff --git a/sensor.c b/sensor.c
4a9f2a
index 09d0877..e65018c 100644
4a9f2a
--- a/xinetd/sensor.c
4a9f2a
+++ b/xinetd/sensor.c
4a9f2a
@@ -100,14 +100,15 @@ void process_sensor( const struct service *sp, const union xsockaddr *addr)
4a9f2a
 	 {
4a9f2a
 	    /* Here again, eh?...update time stamp. */
4a9f2a
             char *exp_time;
4a9f2a
-	    time_t stored_time;
4a9f2a
+	    int stored_time;
4a9f2a
 
4a9f2a
 	    item_matched--; /* Is # plus 1, to even get here must be >= 1 */
4a9f2a
             exp_time = pset_pointer( global_no_access_time, item_matched ) ;
4a9f2a
             if (exp_time == NULL)
4a9f2a
                return ;
4a9f2a
 
4a9f2a
-            if ( parse_base10(exp_time, (int *)&stored_time) )
4a9f2a
+            /* FIXME: Parse (long int) instead of (int) prior to possible Y2K38 bug. */
4a9f2a
+            if ( parse_base10(exp_time, &stored_time ) )
4a9f2a
             {  /* if never let them off, bypass */
4a9f2a
                if (stored_time != -1)
4a9f2a
                {