summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 13:10:58 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 13:10:58 -0700
commit2e1271cfc7687a043df762cb2b1bfa7fca0d783d (patch)
tree79db429789bd93b1b5e00ff77f26acfecb69f214
parentc917eb5f3e040639d2504f7dbe7266c6a2464ac1 (diff)
downloadboost-jam-2e1271cfc7687a043df762cb2b1bfa7fca0d783d.tar.gz
boost-jam-2e1271cfc7687a043df762cb2b1bfa7fca0d783d.tar.bz2
boost-jam-2e1271cfc7687a043df762cb2b1bfa7fca0d783d.zip
codec cleanup
-rw-r--r--expand.c2
-rw-r--r--hash.h4
2 files changed, 3 insertions, 3 deletions
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