projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
453a871
)
Fix void* arithmetic warning (-Wpointer-arith)
author
Jenny Wong
<jyw@google.com>
Thu, 6 Aug 2015 17:02:35 +0000
(10:02 -0700)
committer
Jenny Wong
<jyw@google.com>
Thu, 6 Aug 2015 18:55:52 +0000
(11:55 -0700)
https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html
gcc will assume sizeof(void) == 1 when doing pointer arithmetic on
void*s, but other compilers may not.
No differences found