Sfoglia il codice sorgente

Fix clang -Wdeprecated

Renato Golin 13 anni fa
parent
commit
fe07cb544f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      system/mp/mpcomm.cpp

+ 1 - 1
system/mp/mpcomm.cpp

@@ -327,7 +327,7 @@ public:
 
     unsigned flush(CBufferQueueNotify &nfy)
     {
-        bool count = 0;
+        unsigned count = 0;
         CriticalBlock block(sect);
         ForEachQueueItemInRev(i,received) {
             if (nfy.notify(received.item(i))) {