/*
* "$Id: error.c 7460 2008-04-16 02:19:54Z mike $"
*
- * Raster error handling for the Common UNIX Printing System (CUPS).
+ * Raster error handling for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* Include necessary headers...
*/
-#include "image-private.h"
-#include <stdarg.h>
+#include <cups/raster-private.h>
/*
if (bytes >= sizeof(s))
return;
- if (bytes > (buf->end - buf->current))
+ if (bytes > (size_t)(buf->end - buf->current))
{
/*
* Allocate more memory...
*
* If there are no recent errors, NULL is returned.
*
- * @since CUPS 1.3@
+ * @since CUPS 1.3/Mac OS X 10.5@
*/
const char * /* O - Last error */
_cups_raster_error_t *buf; /* Pointer to error buffer */
- /*
+ /*
* Initialize the global data exactly once...
*/