diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-09 12:08:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 12:08:54 +0200 |
commit | 06af88cd72eaf429190678dcd6d500122e35f349 (patch) | |
tree | 827c969ae10a15ff59bbd6f43dc23a7a74520378 /src/nvim/profile.h | |
parent | 652be3cb0040d37d295ca9389d72dc8dce0b56fc (diff) | |
download | rneovim-06af88cd72eaf429190678dcd6d500122e35f349.tar.gz rneovim-06af88cd72eaf429190678dcd6d500122e35f349.tar.bz2 rneovim-06af88cd72eaf429190678dcd6d500122e35f349.zip |
viml/reltime(): allow negative result #10453
- define proftime_T as signed integer
- profile_sub(): allow negative result
closes #10452
Diffstat (limited to 'src/nvim/profile.h')
-rw-r--r-- | src/nvim/profile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/profile.h b/src/nvim/profile.h index 7b378577ce..2608514313 100644 --- a/src/nvim/profile.h +++ b/src/nvim/profile.h @@ -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); \ |