diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-01-23 01:34:34 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-01-23 01:34:34 +0700 |
commit | 70655d5d3152a362de44589fa8e77446a928a9d2 (patch) | |
tree | 5ac53db1108b9b8edaec3464ca2d9fe9732742e7 | |
parent | 8287b05a09e03c9d5405568548bdfd95c83faafd (diff) | |
download | abc-70655d5d3152a362de44589fa8e77446a928a9d2.tar.gz abc-70655d5d3152a362de44589fa8e77446a928a9d2.tar.bz2 abc-70655d5d3152a362de44589fa8e77446a928a9d2.zip |
Integration of timing manager.
-rw-r--r-- | src/misc/vec/vecStr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/misc/vec/vecStr.h b/src/misc/vec/vecStr.h index 952dfdb7..159dfd69 100644 --- a/src/misc/vec/vecStr.h +++ b/src/misc/vec/vecStr.h @@ -756,14 +756,16 @@ static inline int Vec_StrCompareVec( Vec_Str_t * p1, Vec_Str_t * p2 ) static inline void Vec_StrPutI_ne( Vec_Str_t * vOut, int Val ) { int i; - for ( i = 0; i < 4; i++ ) +// for ( i = 0; i < 4; i++ ) + for ( i = 3; i >= 0; i-- ) Vec_StrPush( vOut, (char)(Val >> (8*i)) ); } static inline int Vec_StrGetI_ne( Vec_Str_t * vOut, int * pPos ) { int i; int Val = 0; - for ( i = 0; i < 4; i++ ) +// for ( i = 0; i < 4; i++ ) + for ( i = 3; i >= 0; i-- ) Val |= ((int)(unsigned char)Vec_StrEntry(vOut, (*pPos)++) << (8*i)); return Val; } |