From: Anas Nashif Date: Tue, 30 Oct 2012 20:10:58 +0000 (-0700) Subject: codec cleanup X-Git-Tag: submit/tizen/20130503.184118~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e1271cfc7687a043df762cb2b1bfa7fca0d783d;p=platform%2Fupstream%2Fboost-jam.git codec cleanup --- diff --git a/expand.c b/expand.c index d8e5882..e124187 100644 --- a/expand.c +++ b/expand.c @@ -82,7 +82,7 @@ LIST * var_expand( LIST * l, char * in, char * end, LOL * lol, int cancopyin ) int depth; if ( DEBUG_VAREXP ) - printf( "expand '%.*s'\n", end - in, in ); + printf( "expand '%.*s'\n", (int)(end - in), in ); /* This gets a lot of cases: $(<) and $(>). */ if diff --git a/hash.h b/hash.h index 7195b41..4ef232e 100644 --- a/hash.h +++ b/hash.h @@ -19,7 +19,7 @@ void hashdone ( struct hash * hp ); void hashenumerate( struct hash * hp, void (* f)( void *, void * ), void * data ); int hash_free ( struct hash * hp, HASHDATA * data); -#define hashenter( hp, data ) ( !hashitem( hp, data, !0 ) ) -#define hashcheck( hp, data ) hashitem( hp, data, 0 ) +#define hashenter( hp, data ) ( !hashitem( (hp), (data), !0 ) ) +#define hashcheck( hp, data ) hashitem( (hp), (data), 0 ) #endif