diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2019-01-16 08:54:57 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-01-18 23:38:33 +0100 |
commit | 870fa1aa327c443979bddfc862a691597b8a2273 (patch) | |
tree | 7052d4612b7e25aea51d1c4d48d134ae8a73444f /src/calcurse.h | |
parent | 03340db72e8c92f84d4a2425a1a5b74ce76f2df4 (diff) | |
download | calcurse-870fa1aa327c443979bddfc862a691597b8a2273.tar.gz calcurse-870fa1aa327c443979bddfc862a691597b8a2273.zip |
Overflow check for 32-bit types only
Included is a check of the 'until' date for pasted recurrent items.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 0f3bd8a..3efde84 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -1203,8 +1203,8 @@ int starts_with(const char *, const char *); int starts_with_ci(const char *, const char *); int hash_matches(const char *, const char *); int show_dialogs(void); -int overflow_add(int, int, int *); -int overflow_mul(int, int, int *); +long overflow_add(long, long, long *); +long overflow_mul(long, long, long *); /* vars.c */ extern int col, row; |