"sym\tid=%u,name=\"%s\",addrsize=%s",
O->SymBaseId + J,
GetString (S->Name),
- AddrSizeToStr (S->AddrSize));
+ AddrSizeToStr ((unsigned char) S->AddrSize));
/* Emit the size only if we know it */
if (S->Size != 0) {
/* Export and import address sizes do not match */
StrBuf ExportLoc = STATIC_STRBUF_INITIALIZER;
StrBuf ImportLoc = STATIC_STRBUF_INITIALIZER;
- const char* ExpAddrSize = AddrSizeToStr (E->AddrSize);
- const char* ImpAddrSize = AddrSizeToStr (I->AddrSize);
+ const char* ExpAddrSize = AddrSizeToStr ((unsigned char) E->AddrSize);
+ const char* ImpAddrSize = AddrSizeToStr ((unsigned char) I->AddrSize);
const LineInfo* ExportLI = GetExportPos (E);
const LineInfo* ImportLI = GetImportPos (I);
GetExportVal (E),
E->ImpCount? 'R' : ' ',
SYM_IS_LABEL (E->Type)? 'L' : 'E',
- GetAddrSizeCode (E->AddrSize),
+ GetAddrSizeCode ((unsigned char) E->AddrSize),
SYM_IS_CONDES (E->Type)? 'I' : ' ');
if (++Count == 2) {
Count = 0;