summaryrefslogtreecommitdiff
path: root/src/net/protocoloutupdate.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-29 18:40:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-29 18:40:47 +0300
commit158e2b5eb03ae01bf5c49f87292bf7aca8ae749b (patch)
treed6aa6fc7edcdc19b8edf1222bb85b047710e94f5 /src/net/protocoloutupdate.h
parent12b83ad925ecc0b6416a12a9f83757fbd1f04d79 (diff)
downloadmv-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.tar.gz
mv-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.tar.bz2
mv-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.tar.xz
mv-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.zip
Fix code style.
Diffstat (limited to 'src/net/protocoloutupdate.h')
-rw-r--r--src/net/protocoloutupdate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/protocoloutupdate.h b/src/net/protocoloutupdate.h
index f6f7a62b2..ea142a69d 100644
--- a/src/net/protocoloutupdate.h
+++ b/src/net/protocoloutupdate.h
@@ -22,7 +22,7 @@
#define NET_PROTOCOLOUTUPDATE_H
#define packet(name, id, sz, comment) name = id
-#define packet2(name, id, sz, comment) name = id + evolPacketOffset
+#define packet2(name, id, sz, comment) name = (id) + evolPacketOffset
#define PROTOCOLOUTUPDATE_VOID
#endif // NET_PROTOCOLOUTUPDATE_H