Skip to content

Commit

Permalink
static_cast of the __LINE__ macro to unsigned type for instances wher…
Browse files Browse the repository at this point in the history
…e __LINE__ might be of long type. (#8)
  • Loading branch information
NathanMorley authored and foonathan committed Jul 30, 2017
1 parent 4de9db2 commit 5b1142e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug_assert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace debug_assert
#define DEBUG_ASSERT_CUR_SOURCE_LOCATION \
debug_assert::source_location \
{ \
__FILE__, __LINE__ \
__FILE__, static_cast<unsigned>(__LINE__) \
}

//=== level ===//
Expand Down

0 comments on commit 5b1142e

Please sign in to comment.