Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2017 10:18:58 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440916 - head/devel/raknet/files
Message-ID:  <201705151018.v4FAIwTb049655@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705151018.v4FAIwTb049655>