Skip to content

Commit 12fbcd2

Browse files
committed
Normalize timeoutMs to monotonic time uint64_t
1 parent 0bc5677 commit 12fbcd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FunctionBar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void FunctionBar_setLabel(FunctionBar* this, int event, const char* text) {
112112
}
113113
}
114114

115-
void FunctionBar_setWarning(const char* msg, uint32_t timeoutMs, bool dismissOnKeypress) {
115+
void FunctionBar_setWarning(const char* msg, uint64_t timeoutMs, bool dismissOnKeypress) {
116116
if (msg == NULL || msg[0] == '\0') {
117117
FunctionBar_clearWarning();
118118
return;

FunctionBar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void FunctionBar_delete(FunctionBar* this);
3232

3333
void FunctionBar_setLabel(FunctionBar* this, int event, const char* text);
3434

35-
void FunctionBar_setWarning(const char* msg, uint32_t timeoutMs, bool dismissOnKeypress);
35+
void FunctionBar_setWarning(const char* msg, uint64_t timeoutMs, bool dismissOnKeypress);
3636

3737
void FunctionBar_clearWarning(void);
3838

0 commit comments

Comments
 (0)