Permalink
Browse files

TOOLS: PRINCE: Fix Compilation on AOS4 and OSX.

  • Loading branch information...
digitall committed Aug 9, 2018
1 parent c349496 commit aaf3aeebab6d9492bf8895de268462dfd12f43b5
Showing with 2 additions and 2 deletions.
  1. +2 −2 engines/prince/flags.cpp
View
@@ -23,9 +23,9 @@
#include "flags.h"
const char *Flags::getFlagName(uint16 flagId) {
FlagDebug *flagd = nullptr;
FlagDebug *flagd = NULL;
flagd = (FlagDebug *)bsearch(&flagId, _flagNames, kFlagDebugAmount, sizeof(FlagDebug), Flags::compareFlagDebug);
if (flagd != nullptr) {
if (flagd) {
return flagd->flagName;
} else {
return "unknown_flag";

0 comments on commit aaf3aee

Please sign in to comment.