Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

forbids comparison between pointer and integer #148

Open
coldmon91 opened this issue Oct 1, 2021 · 1 comment
Open

forbids comparison between pointer and integer #148

coldmon91 opened this issue Oct 1, 2021 · 1 comment

Comments

@coldmon91
Copy link

g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
building by cmake in Ubuntu20.04

RakNet/Source/ReplicaManager3.cpp:141:63: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]
141 | if (GetConnectionByGUID(participantListIn[index], worldId)==false)

@sethhope
Copy link

Change to:
if (GetConnectionByGUID(participantListIn[index], worldId)==NULL)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants