This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
sxiv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix TV_ADD_MSEC macro
master
Bert Münnich
13 years ago
parent
4383a651c7
commit
61caa5511f
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
util.h
+ 2
- 2
util.h
View File
@@ -47,8 +47,8 @@
}
#define TV_ADD_MSEC(tv,t) { \
(tv)->tv_sec = (t) / 1000;
\
(tv)->tv_usec = (t) % 1000 * 1000;
\
(tv)->tv_sec
+
= (t) / 1000; \
(tv)->tv_usec
+
= (t) % 1000 * 1000; \
}
typedef struct {
Write
Preview
Loading…
Cancel
Save