diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-20 11:02:17 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-20 11:02:17 +0000 |
commit | ff5189a6a3a8c6bc76cf871b62f723314466f597 (patch) | |
tree | a6d3d9db3980a82b74a9e6113c015e9fe73bb692 /dmake/state.c | |
parent | c4979677fa4219392d46759f19da063df22bacc2 (diff) |
INTEGRATION: CWS dmake43p01 (1.1.1.1.132); FILE MERGED
2006/03/13 23:21:28 vq 1.1.1.1.132.1: #i61390# Make dmake (gcc) build -Wall warning free.
Diffstat (limited to 'dmake/state.c')
-rw-r--r-- | dmake/state.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dmake/state.c b/dmake/state.c index 7b5a2fe79ab8..509377539aee 100644 --- a/dmake/state.c +++ b/dmake/state.c @@ -1,4 +1,4 @@ -/* RCS $Id: state.c,v 1.1.1.1 2000-09-22 15:33:25 hr Exp $ +/* RCS $Id: state.c,v 1.2 2006-04-20 12:02:17 hr Exp $ -- -- SYNOPSIS -- .KEEP_STATE state file management @@ -122,8 +122,9 @@ Write_state() if( Search_table(Defs, sp->st_name, &hv, &hk) ) { fprintf( fp, "%s\n", sp->st_name ); fprintf( fp, "%d\n", sp->st_count ); - fprintf( fp, "%lu\n", sp->st_dkey ); - fprintf( fp, "%lu\n", sp->st_key ); + /* long unsigned can be != uint32, silence the warning. */ + fprintf( fp, "%lu\n", (unsigned long)sp->st_dkey ); + fprintf( fp, "%lu\n", (unsigned long)sp->st_key ); } } |