Permalink
Browse files

Fix parseNumberFromStringWithBase to compile on Solaris.

  • Loading branch information...
1 parent faf643f commit ce21fd9e58893d9a2d8b036aed6b5b14ad44f93d @andy10gen andy10gen committed Dec 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mongo/base/parse_number.cpp
@@ -188,7 +188,7 @@ namespace mongo {
DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(unsigned short)
DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(int)
DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(unsigned int)
- DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(signed char);
- DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(unsigned char);
+ DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(int8_t);
+ DEFINE_PARSE_NUMBER_FROM_STRING_WITH_BASE(uint8_t);
} // namespace mongo

0 comments on commit ce21fd9

Please sign in to comment.