diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 13:10:58 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 13:10:58 -0700 |
commit | 2e1271cfc7687a043df762cb2b1bfa7fca0d783d (patch) | |
tree | 79db429789bd93b1b5e00ff77f26acfecb69f214 | |
parent | c917eb5f3e040639d2504f7dbe7266c6a2464ac1 (diff) | |
download | boost-jam-2e1271cfc7687a043df762cb2b1bfa7fca0d783d.tar.gz boost-jam-2e1271cfc7687a043df762cb2b1bfa7fca0d783d.tar.bz2 boost-jam-2e1271cfc7687a043df762cb2b1bfa7fca0d783d.zip |
codec cleanup
-rw-r--r-- | expand.c | 2 | ||||
-rw-r--r-- | hash.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 |