Commit 7751af94 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added sizeof bool.

parent aeb17b06
......@@ -30,6 +30,7 @@ void cdiPrintDatatypes(void)
"+-------------+-------+\n"
"| char | %3d |\n"
"+-------------+-------+\n"
"| bool | %3d |\n"
"| short | %3d |\n"
"| int | %3d |\n"
"| long | %3d |\n"
......@@ -48,7 +49,7 @@ void cdiPrintDatatypes(void)
"| FLT64 | %-9s |\n"
"+-------------+-----------+\n"
"\n byte ordering is %s\n\n",
(int) sizeof(void *), (int) sizeof(char),
(int) sizeof(void *), (int) sizeof(char), (int) sizeof(bool),
(int) sizeof(short), (int) sizeof(int), (int) sizeof(long), (int) sizeof(long long),
(int) sizeof(size_t), (int) sizeof(off_t),
(int) sizeof(float), (int) sizeof(double), (int) sizeof(long double),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment