merge-requests/1/head
Julien BLACHE 2010-06-23 18:21:33 +02:00
rodzic 0cc56aa5bf
commit c8e15bcf7d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1109,7 +1109,7 @@ attach (const char *devnam, NEC_Device ** devp)
dev->sane.name = (SANE_String) strdup (devnam);
dev->sane.vendor = "NEC";
model_name = inquiry_data + 16;
dev->sane.model = strndup ((char *)model_name, 10);
dev->sane.model = strndup ((const char *)model_name, 10);
dev->sane.type = "flatbed scanner";
dev->sensedat.model = sensedat.model;