From e9b0139e6a89ca9cff4ca40bef1bf43e60f5060e Mon Sep 17 00:00:00 2001 From: lotodore Date: Thu, 1 Apr 2010 17:44:20 +0000 Subject: [PATCH] Trying to fix gcc compiler error. --- src/net/netpacket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/netpacket.h b/src/net/netpacket.h index aefac290..b996e26f 100644 --- a/src/net/netpacket.h +++ b/src/net/netpacket.h @@ -41,7 +41,7 @@ #define MAX_NUM_PLAYER_RESULTS MAX_NUMBER_OF_PLAYERS #define MAX_NUM_PLAYER_CARDS MAX_NUMBER_OF_PLAYERS*/ -#define STL_STRING_FROM_OCTET_STRING(_a) (string((const char *)_a.buf, _a.size)) +#define STL_STRING_FROM_OCTET_STRING(_a) (string((const char *)(_a).buf, (_a).size)) // This is just a wrapper class for the ASN.1 structure. class NetPacket