瀏覽代碼

Fix clang -Wdeprecated

Renato Golin 13 年之前
父節點
當前提交
fe07cb544f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))) {