wok-current view hplip/stuff/hplip-3.9.4b-glibc210.u @ rev 20150

Up gnu-efi (3.0.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 03 14:39:40 2017 +0100 (2017-12-03)
parents
children
line source
1 --- prnt/hpijs/registry.cpp.orig 2009-04-29 22:41:07.000000000 +0200
2 +++ prnt/hpijs/registry.cpp 2009-06-02 14:17:09.000000000 +0200
3 @@ -292,7 +292,7 @@ DRIVER_ERROR DeviceRegistry::SelectDevic
4 device = eDJ3320;
5 match = TRUE;
6 }
7 - char *cmdStr = strstr ((const char *) DevIDBuffer+2, "CMD:");
8 + const char *cmdStr = strstr ((const char *) DevIDBuffer+2, "CMD:");
9 if (!cmdStr)
10 {
11 cmdStr = strstr ((const char *) DevIDBuffer+2, "COMMAND SET:");
12 --- prnt/hpijs/dj3320.cpp.orig 2009-04-29 22:41:07.000000000 +0200
13 +++ prnt/hpijs/dj3320.cpp 2009-06-02 14:32:21.000000000 +0200
14 @@ -429,7 +429,7 @@ DISPLAY_STATUS DJ3320::ParseError (BYTE
15 pLDLEncap->bNewStatus = FALSE;
17 // First 10 bytes of m_pbyReadBuff are packet header. Status query from printer has $S:
18 - if ((pcStr = strstr((const char*)pLDLEncap->byStatusBuff + 10, "$S:")) == NULL)
19 + if ((pcStr = strstr((char*)pLDLEncap->byStatusBuff + 10, "$S:")) == NULL)
20 {
21 m_dsCurrentStatus = DISPLAY_COMM_PROBLEM;
22 return DISPLAY_COMM_PROBLEM;