Avoid segfault on 32-bit RigPi -- time_t size may be 32-bit

pull/1573/head
Mike Black W9MDB 2024-06-26 22:12:36 -05:00
rodzic 1d8d41128a
commit 6aec79b78a
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -3098,8 +3098,10 @@ int rig_test_2038(RIG *rig)
if (s == NULL) { failed = 1; }
#if 0 // this fails on 32-bit RigPi -- time_t 32-bit maybe?
else rig_debug(RIG_DEBUG_VERBOSE, "%s: time_t 2038 test = 0x%08lx:%s", __func__, x,
s == NULL ? "NULL" : s);
#endif
#endif