File boost-jam-codecleanup.diff of Package boost-jam

diff -rup boost-jam-3.1.18.orig/expand.c boost-jam-3.1.18/expand.c
--- boost-jam-3.1.18.orig/expand.c	2010-04-02 22:41:15.059100821 +0200
+++ boost-jam-3.1.18/expand.c	2010-04-02 23:28:36.686114000 +0200
@@ -82,7 +82,7 @@ LIST * var_expand( LIST * l, char * in,
     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 -rup boost-jam-3.1.18.orig/hash.h boost-jam-3.1.18/hash.h
--- boost-jam-3.1.18.orig/hash.h	2010-04-02 22:41:15.042116497 +0200
+++ boost-jam-3.1.18/hash.h	2010-04-02 23:31:19.887112718 +0200
@@ -19,7 +19,7 @@ void          hashdone     ( struct hash
 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
openSUSE Build Service is sponsored by