aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/utils.c2
-rw-r--r--FICS/utils.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 05323e5..66b7d56 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -764,7 +764,7 @@ tenth_secs(void)
* 2024-11-23 maxxe: changed the return type to 'time_t'
*/
PUBLIC time_t
-untenths(unsigned int tenths)
+untenths(uint64_t tenths)
{
return (tenths / 10 + 331939277 + 0xffffffff / 10 + 1);
}
diff --git a/FICS/utils.h b/FICS/utils.h
index b5f77c6..5342be2 100644
--- a/FICS/utils.h
+++ b/FICS/utils.h
@@ -31,6 +31,7 @@
#ifndef _UTILS_H
#define _UTILS_H
+#include <stdint.h>
#include <stdio.h>
#include "common.h" /* PRINTFLIKE() */
@@ -104,7 +105,7 @@ extern int safechar(int);
extern int safestring(char *);
extern int search_directory(char *, char *, char **, int);
extern int truncate_file(char *, int);
-extern time_t untenths(unsigned int);
+extern time_t untenths(uint64_t);
extern unsigned int tenth_secs(void);
//extern void pprintf_dohightlight(int);
//extern void sprintf_dohightlight(int, char *);