summaryrefslogtreecommitdiffstats
path: root/src/vlibapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlibapi')
-rw-r--r--src/vlibapi/vat_helper_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlibapi/vat_helper_macros.h b/src/vlibapi/vat_helper_macros.h
index 172fe2db4a8..ffb74fe3b9b 100644
--- a/src/vlibapi/vat_helper_macros.h
+++ b/src/vlibapi/vat_helper_macros.h
@@ -44,7 +44,7 @@ do { \
/* W: wait for results, with timeout */
#define W \
do { \
- timeout = vat_time_now (vam) + 1.0; \
+ f64 timeout = vat_time_now (vam) + 1.0; \
\
while (vat_time_now (vam) < timeout) { \
if (vam->result_ready == 1) { \
@@ -58,7 +58,7 @@ do { \
/* W2: wait for results, with timeout */
#define W2(body) \
do { \
- timeout = vat_time_now (vam) + 1.0; \
+ f64 timeout = vat_time_now (vam) + 1.0; \
\
while (vat_time_now (vam) < timeout) { \
if (vam->result_ready == 1) { \