Return a positive one-byte code from the exiv2 utility for better consistency across platforms (my version of the MSYS/MinGW shell reports 0 if the application returns a negative value).

v0.27.3
Andreas Huggel 14 years ago
parent 6dd85c6a6b
commit 47a3e51164

@ -176,7 +176,8 @@ int main(int argc, char* const argv[])
params.cleanup();
Exiv2::XmpParser::terminate();
return rc;
// Return a positive one byte code for better consistency across platforms
return static_cast<unsigned int>(rc) % 256;
} // main
// *****************************************************************************

Loading…
Cancel
Save