Skip to content

Instantly share code, notes, and snippets.

@ichizok
Created October 11, 2016 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ichizok/47df234e05f78f84b1abf4e8ca89f270 to your computer and use it in GitHub Desktop.
Save ichizok/47df234e05f78f84b1abf4e8ca89f270 to your computer and use it in GitHub Desktop.
remove semicolon
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index b8d8dca..0537326 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -1093,11 +1093,11 @@ static long last_timer_id = 0;
# ifdef WIN3264
# define GET_TIMEDIFF(timer, now) \
(long)(((double)(timer->tr_due.QuadPart - now.QuadPart) \
- / (double)fr.QuadPart) * 1000);
+ / (double)fr.QuadPart) * 1000)
# else
# define GET_TIMEDIFF(timer, now) \
- (timer->tr_due.tv_sec - now.tv_sec) * 1000 \
- + (timer->tr_due.tv_usec - now.tv_usec) / 1000;
+ ((timer->tr_due.tv_sec - now.tv_sec) * 1000 \
+ + (timer->tr_due.tv_usec - now.tv_usec) / 1000)
# endif
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment