cups-filters/cups-filters-uuid-recast.patch
DistroBaker efcac2932d Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/cups-filters.git#12bd6655362f7e0f8790c34a208d10ca6333f99e
2020-11-24 06:11:48 +00:00

14 lines
464 B
Diff

diff --git a/utils/cups-browsed.c b/utils/cups-browsed.c
index 0d0f30f..885bc1c 100644
--- a/utils/cups-browsed.c
+++ b/utils/cups-browsed.c
@@ -3622,7 +3622,7 @@ new_local_printer (const char *device_uri,
{
local_printer_t *printer = g_malloc (sizeof (local_printer_t));
printer->device_uri = strdup (device_uri);
- printer->uuid = uuid;
+ printer->uuid = (char*)uuid;
printer->cups_browsed_controlled = cups_browsed_controlled;
return printer;
}