viml/reltime(): allow negative result #10453

- define proftime_T as signed integer
- profile_sub(): allow negative result

closes #10452
This commit is contained in:
Justin M. Keyes
2019-07-09 12:08:54 +02:00
committed by GitHub
parent 652be3cb00
commit 06af88cd72
4 changed files with 16 additions and 6 deletions

View File

@@ -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); \