summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-11-19 19:44:35 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-11-19 19:44:35 +0100
commit0545c3738438dedbbec4650b5c0e4aa28a1b38ef (patch)
tree7390e93888dfb7e2cdd62cbda12e9a7337cbc568 /zebra/zserv.h
parentMerge pull request #3344 from ton31337/fix/optional_args_for_community-lists (diff)
downloadfrr-0545c3738438dedbbec4650b5c0e4aa28a1b38ef.tar.xz
frr-0545c3738438dedbbec4650b5c0e4aa28a1b38ef.zip
*: only use 32-bit atomics
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index f21ea17fe..f7967f54f 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -157,9 +157,9 @@ struct zserv {
/* monotime of last message sent */
_Atomic uint32_t last_write_time;
/* command code of last message read */
- _Atomic uint16_t last_read_cmd;
+ _Atomic uint32_t last_read_cmd;
/* command code of last message written */
- _Atomic uint16_t last_write_cmd;
+ _Atomic uint32_t last_write_cmd;
};
#define ZAPI_HANDLER_ARGS \