diff options
author | Kenneth Venken <kenneth.venken@gmail.com> | 2010-10-18 19:47:47 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-18 19:47:47 +0100 |
commit | 522faf9ccb25254e3c765425c74aee5c2aa6c950 (patch) | |
tree | fb4edb37fb880b3a8394d4b4d926a237a5c8908e /sal/workben | |
parent | c189268e0ab3ec33c02c5dbabfd31b37e0b1f5ab (diff) |
cleanup to use SAL_N_ELEMENTS
Diffstat (limited to 'sal/workben')
-rw-r--r-- | sal/workben/t_cipher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/workben/t_cipher.c b/sal/workben/t_cipher.c index b7126bd46de1..69f080fdfb46 100644 --- a/sal/workben/t_cipher.c +++ b/sal/workben/t_cipher.c @@ -25,6 +25,7 @@ * ************************************************************************/ #include <sal/types.h> +#include <sal/macros.h> #include <osl/diagnose.h> #include <rtl/cipher.h> @@ -327,7 +328,7 @@ int SAL_CALL main (int argc, char *argv) sal_Size length; int i, n; - n = sizeof(arcfour_data_len) / sizeof(arcfour_data_len[0]); + n = SAL_N_ELEMENTS(arcfour_data_len); for (i = 0; i < n; i++) { length = arcfour_data_len[i]; |