Skip to content

Commit 093c87a

Browse files
author
Leonardo Alminana
committed
log_event_encoder: switched data size type to overcome msvc issue
Signed-off-by: Leonardo Alminana <[email protected]>
1 parent 4eaa2b7 commit 093c87a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/fluent-bit/flb_log_event_encoder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153

154154
#define FLB_LOG_EVENT_INT64_VALUE(value) \
155155
(int) FLB_LOG_EVENT_INT64_VALUE_TYPE, \
156-
(int64_t) value
156+
(int64_t *) value
157157

158158
#define FLB_LOG_EVENT_UINT8_VALUE(value) \
159159
(int) FLB_LOG_EVENT_UINT8_VALUE_TYPE, \
@@ -169,7 +169,7 @@
169169

170170
#define FLB_LOG_EVENT_UINT64_VALUE(value) \
171171
(int) FLB_LOG_EVENT_UINT64_VALUE_TYPE, \
172-
(uint64_t) value
172+
(uint64_t *) value
173173

174174
#define FLB_LOG_EVENT_DOUBLE_VALUE(value) \
175175
(int) FLB_LOG_EVENT_DOUBLE_VALUE_TYPE, \

0 commit comments

Comments
 (0)