summaryrefslogtreecommitdiff
path: root/filter/interpret.c
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2012-10-25 21:07:57 +0200
committerDidier Raboud <odyx@debian.org>2012-10-25 21:07:57 +0200
commit81ab83f382660bc7980ae954725c4ebf28764b03 (patch)
tree523268f698a63a8fd44f3491d94d140266b2403b /filter/interpret.c
parenta75966e33dbc3e3e096338fd332f515cb313b58a (diff)
downloadcups-upstream/1.6.0.tar.gz
Imported Upstream version 1.6.0upstream/1.6.0
Diffstat (limited to 'filter/interpret.c')
-rw-r--r--filter/interpret.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/filter/interpret.c b/filter/interpret.c
index 81774ddf..5d099782 100644
--- a/filter/interpret.c
+++ b/filter/interpret.c
@@ -1,9 +1,9 @@
/*
- * "$Id: interpret.c 9955 2011-09-02 18:14:34Z mike $"
+ * "$Id: interpret.c 10424 2012-04-23 17:26:57Z mike $"
*
* PPD command interpreter for CUPS.
*
- * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2007-2012 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
@@ -40,7 +40,7 @@
* Include necessary headers...
*/
-#include "image-private.h"
+#include <cups/raster-private.h>
/*
@@ -144,7 +144,7 @@ static void DEBUG_stack(_cups_ps_stack_t *st);
* @code pop@, @code roll@, @code setpagedevice@, and @code stopped@ operators
* are supported.
*
- * @since CUPS 1.2/Mac OS X 10.5@
+ * @since CUPS 1.2/OS X 10.5@
*/
int /* O - 0 on success, -1 on failure */
@@ -204,7 +204,7 @@ cupsRasterInterpretPPD(
#ifdef __APPLE__
/*
- * cupsInteger0 is also used for the total page count on Mac OS X; set an
+ * cupsInteger0 is also used for the total page count on OS X; set an
* uncommon default value so we can tell if the driver is using cupsInteger0.
*/
@@ -1387,7 +1387,7 @@ setpagedevice(
* Found the start of the dictionary, empty the stack to this point...
*/
- st->num_objs = obj - st->objs;
+ st->num_objs = (int)(obj - st->objs);
/*
* Now pull /name and value pairs from the dictionary...
@@ -1684,5 +1684,5 @@ DEBUG_stack(_cups_ps_stack_t *st) /* I - Stack */
/*
- * End of "$Id: interpret.c 9955 2011-09-02 18:14:34Z mike $".
+ * End of "$Id: interpret.c 10424 2012-04-23 17:26:57Z mike $".
*/