Increase version string buffer size for gcc
There is some bug in gcc's new -Werror=format-overflow that makes it
think majorVersion could end up being very large. Increase the target
buffer for now to keep gcc happy.
diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx
index af84226..d6960dd 100644
--- a/common/rfb/CConnection.cxx
+++ b/common/rfb/CConnection.cxx
@@ -143,7 +143,7 @@
void CConnection::processVersionMsg()
{
- char verStr[13];
+ char verStr[27]; // FIXME: gcc has some bug in format-overflow
int majorVersion;
int minorVersion;