Browse Source

Use int instead of bool for pthread lock check

James Urquhart 11 years ago
parent
commit
739dbedafb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/platformiOS/iOSMutex.mm

+ 1 - 1
engine/source/platformiOS/iOSMutex.mm

@@ -62,7 +62,7 @@ Mutex::~Mutex()
  
 bool Mutex::lock( bool block)
 {
-   bool ok;
+   int ok;
 
    if(block)
    {