Skip to content

Commit f73edff

Browse files
committed
normalized timeout and monotonic time
1 parent 0bc5677 commit f73edff

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ callgrind.out.*
5454

5555
# Language Servers
5656
/.cache/clangd/
57+
sanitized-build/

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)