diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-11-13 23:39:39 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-13 23:39:39 -0500 |
commit | b3941a433db3f6b26b66b7db67580a0ecd97ae09 (patch) | |
tree | 34f52fdb43b33a7c1d0cfdec6ddd940b1b425004 | |
parent | 7f8d3e8882a7e4d389351802446e7bbf5726806a (diff) | |
download | cryptopp-git-b3941a433db3f6b26b66b7db67580a0ecd97ae09.tar.gz |
Fix some IBM XL C/C++ issues
-rw-r--r-- | TestPrograms/test_cxx.cxx | 3 | ||||
-rw-r--r-- | TestPrograms/test_x86_cpuid.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/TestPrograms/test_cxx.cxx b/TestPrograms/test_cxx.cxx index 2cee5a7b..90f24b2d 100644 --- a/TestPrograms/test_cxx.cxx +++ b/TestPrograms/test_cxx.cxx @@ -1,7 +1,6 @@ #include <string>
-#include <cstdint>
int main(int argc, char* argv[])
{
- uint32_t x=0;
+ unsigned int x=0;
return x;
}
diff --git a/TestPrograms/test_x86_cpuid.cxx b/TestPrograms/test_x86_cpuid.cxx index 497a2942..2fa58f25 100644 --- a/TestPrograms/test_x86_cpuid.cxx +++ b/TestPrograms/test_x86_cpuid.cxx @@ -1,7 +1,6 @@ -#include <stdint.h>
int main(int argc, char* argv[])
{
- uint32_t a, b, c, d;
+ unsigned int a, b, c, d;
asm volatile ( "cpuid" : "+a"(a), "=b"(b), "+c"(c), "=d"(d) );
return 0;
|