diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2008-04-25 22:45:10 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2008-04-25 22:45:10 +0200 |
commit | 9ae83b845687ff04cd89613745214f43b6700626 (patch) | |
tree | bfb8a4bd04f8bca9ab205c3fb2f8870e61c2d574 /fixincludes/fixincl.c | |
parent | 38101ca779c9b130f8559df3250c0f9d91cbd0ba (diff) | |
download | gcc-9ae83b845687ff04cd89613745214f43b6700626.zip gcc-9ae83b845687ff04cd89613745214f43b6700626.tar.gz gcc-9ae83b845687ff04cd89613745214f43b6700626.tar.bz2 |
fixincl.c (fix_with_system): Cast pointer difference to long.
2008-04-25 Kai Tietz <kai.tietz@onvision.com>
* fixincl.c (fix_with_system): Cast pointer difference to long.
* fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
From-SVN: r134679
Diffstat (limited to 'fixincludes/fixincl.c')
-rw-r--r-- | fixincludes/fixincl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixincludes/fixincl.c b/fixincludes/fixincl.c index a6a8abe..39b389d 100644 --- a/fixincludes/fixincl.c +++ b/fixincludes/fixincl.c @@ -829,7 +829,7 @@ fix_with_system (tFixDesc* p_fixd, /* * Now add the fix number and file names that may be needed */ - sprintf (pz_scan, " %ld '%s' '%s' '%s'", p_fixd - fixDescList, + sprintf (pz_scan, " %ld '%s' '%s' (long) (p_fixd - fixDescList), pz_fix_file, pz_file_source, pz_temp_file); } else /* NOT an "internal" fix: */ |