diff options
Diffstat (limited to 'boost/wave/util/cpp_macromap.hpp')
-rw-r--r-- | boost/wave/util/cpp_macromap.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/wave/util/cpp_macromap.hpp b/boost/wave/util/cpp_macromap.hpp index fb251ea105..ca4bcb104f 100644 --- a/boost/wave/util/cpp_macromap.hpp +++ b/boost/wave/util/cpp_macromap.hpp @@ -1414,7 +1414,7 @@ string_type const &value = curr_token.get_value(); char buffer[22]; // 21 bytes holds all NUL-terminated unsigned 64-bit numbers using namespace std; // for some systems sprintf is in namespace std - sprintf(buffer, "%d", main_pos.get_line()); + sprintf(buffer, "%ld", main_pos.get_line()); expanded.push_back(token_type(T_INTLIT, buffer, curr_token.get_position())); return true; } |