svn commit: r440916 - head/devel/raknet/files

Ganael LAPLANCHE martymac at FreeBSD.org
Mon May 15 10:19:00 UTC 2017


Author: martymac
Date: Mon May 15 10:18:58 2017
New Revision: 440916
URL: https://svnweb.freebsd.org/changeset/ports/440916

Log:
  Fix build with Gcc 6
  
  PR:		219283
  Submitted by:	jbeich

Added:
  head/devel/raknet/files/patch-Source-RakPeer.cpp   (contents, props changed)

Added: head/devel/raknet/files/patch-Source-RakPeer.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/raknet/files/patch-Source-RakPeer.cpp	Mon May 15 10:18:58 2017	(r440916)
@@ -0,0 +1,11 @@
+--- Source/RakPeer.cpp.orig	2017-05-14 20:20:15.087088000 +0000
++++ Source/RakPeer.cpp	2017-05-14 20:26:50.670623000 +0000
+@@ -154,7 +154,7 @@
+ // Should be different than any message that could result from messages from the reliability layer
+ #pragma warning(disable:4309) // 'initializing' : truncation of constant value
+ // Make sure highest bit is 0, so isValid in DatagramHeaderFormat is false
+-static const char OFFLINE_MESSAGE_DATA_ID[16]={0x00,0xFF,0xFF,0x00,0xFE,0xFE,0xFE,0xFE,0xFD,0xFD,0xFD,0xFD,0x12,0x34,0x56,0x78};
++static const unsigned char OFFLINE_MESSAGE_DATA_ID[16]={0x00,0xFF,0xFF,0x00,0xFE,0xFE,0xFE,0xFE,0xFD,0xFD,0xFD,0xFD,0x12,0x34,0x56,0x78};
+ 
+ //#define _DO_PRINTF
+ 


More information about the svn-ports-all mailing list