aboutsummaryrefslogtreecommitdiffstats
path: root/cxx11
diff options
context:
space:
mode:
Diffstat (limited to 'cxx11')
-rw-r--r--cxx11/c++11-test-cstdint.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cxx11/c++11-test-cstdint.cpp b/cxx11/c++11-test-cstdint.cpp
index be2878f..6ba852f 100644
--- a/cxx11/c++11-test-cstdint.cpp
+++ b/cxx11/c++11-test-cstdint.cpp
@@ -2,9 +2,9 @@
int main()
{
bool test =
- (sizeof(int8_t) == 1) &&
- (sizeof(int16_t) == 2) &&
- (sizeof(int32_t) == 4) &&
- (sizeof(int64_t) == 8);
+ (sizeof(std::int8_t) == 1) &&
+ (sizeof(std::int16_t) == 2) &&
+ (sizeof(std::int32_t) == 4) &&
+ (sizeof(std::int64_t) == 8);
return test ? 0 : 1;
}