updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / convtoflac / gcc4_errors.patch
blobf7a0898c125da053b4d9b17af75c1c9b2d9e16f0
1 --- mac-3.99-u4-b5-s4/src/MACLib/APELink.cpp 2006-06-01 13:00:57.000000000 +0400
2 +++ mac-3.99-u4-b5-s4/src/MACLib/APELink.cpp 2009-06-15 00:31:36.081731282 +0400
3 @@ -63,10 +63,10 @@
4 if (pData != NULL)
6 // parse out the information
7 - char * pHeader = strstr(pData, APE_LINK_HEADER);
8 - char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
9 - char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
10 - char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
11 + const char * pHeader = strstr(pData, APE_LINK_HEADER);
12 + const char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
13 + const char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
14 + const char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
16 if (pHeader && pImageFile && pStartBlock && pFinishBlock)
18 @@ -81,7 +81,7 @@
20 // get the path
21 char cImageFile[MAX_PATH + 1]; int nIndex = 0;
22 - char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
23 + const char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
24 while ((*pImageCharacter != 0) && (*pImageCharacter != '\r') && (*pImageCharacter != '\n'))
25 cImageFile[nIndex++] = *pImageCharacter++;
26 cImageFile[nIndex] = 0;