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:
parent
b48e6883c6
commit
75bbcc6884
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user