zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #09161
[Merge] lp:~zorba-coders/zorba/windows-fix into lp:zorba
David Graf has proposed merging lp:~zorba-coders/zorba/windows-fix into lp:zorba.
Requested reviews:
David Graf (davidagraf)
Ghislain Fourny (gislenius)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/windows-fix/+merge/104748
fixing windows build
--
https://code.launchpad.net/~zorba-coders/zorba/windows-fix/+merge/104748
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/naive/atomic_items.cpp'
--- src/store/naive/atomic_items.cpp 2012-05-03 12:31:51 +0000
+++ src/store/naive/atomic_items.cpp 2012-05-04 14:34:22 +0000
@@ -3506,11 +3506,11 @@
lStream.seekg(0, std::ios::end);
std::streampos len = lStream.tellg();
lStream.seekg(0, std::ios::beg);
- if (len < 0)
+ if (len < std::streampos(0))
{
throw ZORBA_EXCEPTION( zerr::ZOSE0003_STREAM_READ_FAILURE );
}
- if (len == 0)
+ if (len == std::streampos(0))
{
return;
}
Follow ups