summaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers')
-rw-r--r--tests/helpers/test_sysinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c
index cb7b66b1a..a8d80d875 100644
--- a/tests/helpers/test_sysinfo.c
+++ b/tests/helpers/test_sysinfo.c
@@ -28,7 +28,7 @@ typedef struct {
int
hlp_wordsize(void)
{
- printf("%d\n", __WORDSIZE);
+ printf("%d\n", CHAR_BIT*sizeof(void*));
return 0;
}