diff options
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index accfdd9..0f837f7 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1597,7 +1597,8 @@ bool SystemTools::FilesDiffer(const char* source, 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; } |