summaryrefslogtreecommitdiff
path: root/src/net/protocoloutupdate.h
diff options
context:
space:
mode:
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