diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-07-12 20:39:36 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-07-12 20:39:36 -0700 |
commit | 6fa0784abee97e6c3dad05bdbc18fe8fd3d89d19 (patch) | |
tree | 6b1d4827098fb113ad7f29eb030415ce241494bf /src/misc | |
parent | 2cb6908fc6c8b4a9c64a05eaccd7a3a7f3baf135 (diff) | |
download | abc-6fa0784abee97e6c3dad05bdbc18fe8fd3d89d19.tar.gz abc-6fa0784abee97e6c3dad05bdbc18fe8fd3d89d19.tar.bz2 abc-6fa0784abee97e6c3dad05bdbc18fe8fd3d89d19.zip |
Print-out for char arrays.
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/vec/vecStr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/vec/vecStr.h b/src/misc/vec/vecStr.h index f5f3e9be..63be43d5 100644 --- a/src/misc/vec/vecStr.h +++ b/src/misc/vec/vecStr.h @@ -589,12 +589,12 @@ static inline char Vec_StrPop( Vec_Str_t * p ) SeeAlso [] ***********************************************************************/ -static inline Vec_StrIntPrint( Vec_Str_t * p ) +static inline void Vec_StrIntPrint( Vec_Str_t * p ) { int i; printf( "Vector has %d entries: {", Vec_StrSize(p) ); for ( i = 0; i < Vec_StrSize(p); i++ ) - printf( " %d", Vec_StrEntry(p, i) ); + printf( " %d", (int)Vec_StrEntry(p, i) ); printf( " }\n" ); } |