Commits

Anonymous committed dc7cc44

fixing complier warning

NSURL+SOExtendedAttributes.m:96:24: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'ssize_t' (aka 'long') [-Wsign-compare]

  • Participants
  • Parent commits c4cd3d2

Comments (0)

Files changed (1)

File NSURL+SOExtendedAttributes.m

         uintptr_t ptr_startOfBuffer = (uintptr_t)[namesBuffer mutableBytes];
         uintptr_t ptr_startOfName = ptr_startOfBuffer;
         
-        for (size_t x = 0; x < bufferSize; x++ )
+        for (ssize_t x = 0; x < bufferSize; x++ )
         {
             /* Advance current byte pointer */