diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-08-28 15:37:22 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-08-28 15:37:22 +0000 |
commit | 7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93 (patch) | |
tree | 62f89468c9607219f8c1fbc49c56fe546fc8bde0 /scheduler/cups-driverd.cxx | |
parent | 3bc376ee94dd13ff43b9af675eb7381e443ea6ea (diff) | |
download | cups-7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93.tar.gz |
Fix Linux builds without normal prerequisite libraries installed.
Also correct GCC 4.8 compiler warnings.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12124 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/cups-driverd.cxx')
-rw-r--r-- | scheduler/cups-driverd.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scheduler/cups-driverd.cxx b/scheduler/cups-driverd.cxx index c6e4b17e5..7924bc95b 100644 --- a/scheduler/cups-driverd.cxx +++ b/scheduler/cups-driverd.cxx @@ -1321,7 +1321,7 @@ list_ppds(int request_id, /* I - Request ID */ if (device_id_re && !regexec(device_id_re, ppd->record.device_id, - (int)(sizeof(re_matches) / sizeof(re_matches[0])), + (size_t)(sizeof(re_matches) / sizeof(re_matches[0])), re_matches, 0)) { /* @@ -1351,7 +1351,7 @@ list_ppds(int request_id, /* I - Request ID */ if (make_and_model_re && !regexec(make_and_model_re, ppd->record.make_and_model, - (int)(sizeof(re_matches) / sizeof(re_matches[0])), + (size_t)(sizeof(re_matches) / sizeof(re_matches[0])), re_matches, 0)) { // See how much of the make-and-model string we matched... |