summaryrefslogtreecommitdiff
path: root/scheduler/cups-lpd.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-02-14 20:09:01 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-02-14 20:09:01 +0000
commit076239869a921fff635f11ef9d459eea9a4d8b9f (patch)
tree488c4623be96516015caef72c68f393fcb7f4828 /scheduler/cups-lpd.c
parent02f3db8a515647960cda4e85bbc5cd52764a0625 (diff)
downloadcups-076239869a921fff635f11ef9d459eea9a4d8b9f.tar.gz
Fix build errors on Fedora.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11594 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/cups-lpd.c')
-rw-r--r--scheduler/cups-lpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scheduler/cups-lpd.c b/scheduler/cups-lpd.c
index a1de09058..50a5cb1f4 100644
--- a/scheduler/cups-lpd.c
+++ b/scheduler/cups-lpd.c
@@ -59,7 +59,7 @@ static int create_job(http_t *http, const char *dest, const char *title,
const char *docname, const char *user,
int num_options, cups_option_t *options);
static int get_printer(http_t *http, const char *name, char *dest,
- int destsize, cups_option_t **options,
+ size_t destsize, cups_option_t **options,
int *accepting, int *shared, ipp_pstate_t *state);
static int print_file(http_t *http, int id, const char *filename,
const char *docname, const char *user,
@@ -398,7 +398,7 @@ static int /* O - Number of options or -1 on error */
get_printer(http_t *http, /* I - HTTP connection */
const char *name, /* I - Printer name from request */
char *dest, /* I - Destination buffer */
- int destsize, /* I - Size of destination buffer */
+ size_t destsize, /* I - Size of destination buffer */
cups_option_t **options, /* O - Printer options */
int *accepting, /* O - printer-is-accepting-jobs value */
int *shared, /* O - printer-is-shared value */