mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
viml/reltime(): allow negative result #10453
- define proftime_T as signed integer - profile_sub(): allow negative result closes #10452
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
typedef uint64_t proftime_T;
|
||||
typedef int64_t proftime_T;
|
||||
|
||||
#define TIME_MSG(s) do { \
|
||||
if (time_fd != NULL) time_msg(s, NULL); \
|
||||
|
Reference in New Issue
Block a user