Commit 6fa0784a by Alan Mishchenko

Print-out for char arrays.

parent 2cb6908f
...@@ -589,12 +589,12 @@ static inline char Vec_StrPop( Vec_Str_t * p ) ...@@ -589,12 +589,12 @@ static inline char Vec_StrPop( Vec_Str_t * p )
SeeAlso [] SeeAlso []
***********************************************************************/ ***********************************************************************/
static inline Vec_StrIntPrint( Vec_Str_t * p ) static inline void Vec_StrIntPrint( Vec_Str_t * p )
{ {
int i; int i;
printf( "Vector has %d entries: {", Vec_StrSize(p) ); printf( "Vector has %d entries: {", Vec_StrSize(p) );
for ( i = 0; i < Vec_StrSize(p); i++ ) for ( i = 0; i < Vec_StrSize(p); i++ )
printf( " %d", Vec_StrEntry(p, i) ); printf( " %d", (int)Vec_StrEntry(p, i) );
printf( " }\n" ); printf( " }\n" );
} }
......
Markdown is supported
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