1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-02 17:23:18 +02:00

BYTE is Windows only. Change it to unsigned char.

This commit is contained in:
v.audacity 2013-06-28 22:34:58 +00:00
parent b48e6883c6
commit 75bbcc6884

View File

@ -591,7 +591,7 @@ int ExportPCM::Export(AudacityProject *project,
char *ExportPCM::ConvertTo7bitASCII(const char *pSrc)
{
BYTE c;
unsigned char c;
int sz = strlen(pSrc);
char *pDest = (char *)malloc(sz+1);
@ -637,7 +637,7 @@ char *ExportPCM::ConvertTo7bitASCII(const char *pSrc)
};
do {
c = (BYTE) *pSrc++;
c = (unsigned char) *pSrc++;
*pD++ = aASCII7Table[c];
} while (c);