projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: max_t/min_t macros are missing cast on input
[lttng-tools.git]
/
src
/
common
/
macros.h
diff --git
a/src/common/macros.h
b/src/common/macros.h
index 90849ed30ae5e543a577f9214bc33152864751f8..9637a383013629baf868dfca60dc15a65da05757 100644
(file)
--- a/
src/common/macros.h
+++ b/
src/common/macros.h
@@
-63,7
+63,7
@@
void *zmalloc(size_t len)
#endif
#ifndef max_t
-#define max_t(type, a, b)
((type) max(a, b)
)
+#define max_t(type, a, b)
max((type) a, (type) b
)
#endif
#ifndef min
This page took
0.024182 seconds
and
4
git commands to generate.