From b4ec8a427cd8e29ccea245570708a7af55337ef9 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Tue, 30 Jan 2024 11:02:05 -0600 Subject: [PATCH] Fix return value in test_2038 https://github.com/Hamlib/Hamlib/issues/1492 --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.c b/src/misc.c index 9cdfd041c..83132777b 100644 --- a/src/misc.c +++ b/src/misc.c @@ -3052,7 +3052,7 @@ int rig_test_2038(RIG *rig) if (sizeof(time_t) == 4) { rig_debug(RIG_DEBUG_TRACE, "%s: ctime is null, 2038 test failed\n", __func__); - return 0; + return 1; } x = (time_t)((1U << 31) - 1);