File boost-jam-codecleanup.diff of Package boost-jam
x
1
diff -rup boost-jam-3.1.18.orig/expand.c boost-jam-3.1.18/expand.c
2
--- boost-jam-3.1.18.orig/expand.c 2010-04-02 22:41:15.059100821 +0200
3
+++ boost-jam-3.1.18/expand.c 2010-04-02 23:28:36.686114000 +0200
4
5
int depth;
6
7
if ( DEBUG_VAREXP )
8
- printf( "expand '%.*s'\n", end - in, in );
9
+ printf( "expand '%.*s'\n", (int)(end - in), in );
10
11
/* This gets a lot of cases: $(<) and $(>). */
12
if
13
diff -rup boost-jam-3.1.18.orig/hash.h boost-jam-3.1.18/hash.h
14
--- boost-jam-3.1.18.orig/hash.h 2010-04-02 22:41:15.042116497 +0200
15
+++ boost-jam-3.1.18/hash.h 2010-04-02 23:31:19.887112718 +0200
16
17
void hashenumerate( struct hash * hp, void (* f)( void *, void * ), void * data );
18
int hash_free ( struct hash * hp, HASHDATA * data);
19
20
-#define hashenter( hp, data ) ( !hashitem( hp, data, !0 ) )
21
-#define hashcheck( hp, data ) hashitem( hp, data, 0 )
22
+#define hashenter( hp, data ) ( !hashitem( (hp), (data), !0 ) )
23
+#define hashcheck( hp, data ) hashitem( (hp), (data), 0 )
24
25
#endif
26