Commits

king  committed 0efceb1

COMP: Fix warning when gcount stream method does not really return std::streamsize.

  • Participants
  • Parent commits 641ab51
  • Tags ITK-vxl-2007-11-09-merge-pre

Comments (0)

Files changed (1)

File GCC_XML/KWSys/SystemTools.cxx

     finDestination.read(dest_buf, nnext);
 
     // If either failed to read assume they are different.
-    if(finSource.gcount() != nnext || finDestination.gcount() != nnext)
+    if(static_cast<kwsys_ios::streamsize>(finSource.gcount()) != nnext ||
+       static_cast<kwsys_ios::streamsize>(finDestination.gcount()) != nnext)
       {
       return true;
       }