projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2eee9
)
src/daemon/utils_time_mock.c: Mark static return value as "ULL".
author
Florian Forster
<octo@collectd.org>
Tue, 14 Jul 2015 07:15:51 +0000
(09:15 +0200)
committer
Florian Forster
<octo@collectd.org>
Tue, 14 Jul 2015 07:15:55 +0000
(09:15 +0200)
Build on i386 squeeze fails with:
utils_time_mock.c:31: error: integer constant is too large for 'long' type
src/daemon/utils_time_mock.c
patch
|
blob
|
history
diff --git
a/src/daemon/utils_time_mock.c
b/src/daemon/utils_time_mock.c
index
2bde4d3
..
217515e
100644
(file)
--- a/
src/daemon/utils_time_mock.c
+++ b/
src/daemon/utils_time_mock.c
@@
-28,6
+28,6
@@
cdtime_t cdtime (void)
{
- return (
1542455354518929408
);
+ return (
(cdtime_t) 1542455354518929408ULL
);
}