diff options
author | Alex Cherepanov <alex.cherepanov@artifex.com> | 2005-12-21 03:36:12 +0000 |
---|---|---|
committer | Alex Cherepanov <alex.cherepanov@artifex.com> | 2005-12-21 03:36:12 +0000 |
commit | d23db68e210cb8d284094efa90258c10a588e9b3 (patch) | |
tree | 8fcb7bf72f298e9a0b66f91aa37a7847cc0d9138 /gs/src/gdevpdfe.c | |
parent | 77e2b8e8569a0af3e3553bb9524ccf29c920505d (diff) |
Fix serious warnings generated by GCC 3.2 on Cygwin.
Bug 687622
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6235 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevpdfe.c')
-rw-r--r-- | gs/src/gdevpdfe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/gdevpdfe.c b/gs/src/gdevpdfe.c index 25ded39c6..bb64e3aab 100644 --- a/gs/src/gdevpdfe.c +++ b/gs/src/gdevpdfe.c @@ -432,7 +432,7 @@ pdf_document_metadata(gx_device_pdf *pdev) code = COS_WRITE_OBJECT(pres->object, pdev); if (code < 0) return code; - sprintf(buf, "%d 0 R", pres->object->id); + sprintf(buf, "%ld 0 R", pres->object->id); cos_dict_put_c_key_object(pdev->Catalog, "/Metadata", pres->object); } return 0; |