diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/CodeViewReader.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/CodeViewReader.java index e3f408c288c..e495ae647f6 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/CodeViewReader.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/CodeViewReader.java @@ -150,7 +150,7 @@ public class CodeViewReader implements ISymbolReader { // now skip to the name length file.skipBytes(2 + segments*4 + segments*8); - byte nameLength = file.readByte(); + int nameLength = file.readUnsignedByte(); // now extract the filename and add it to our list // if it's not already there