summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dwarf2pdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dwarf2pdb.cpp b/src/dwarf2pdb.cpp
index feeab8c..13bb426 100644
--- a/src/dwarf2pdb.cpp
+++ b/src/dwarf2pdb.cpp
@@ -1716,9 +1716,9 @@ bool CV2PDB::relocateDebugLineInfo()
char* p = img.RVA<char> (virtadr, 1);
if(p >= img.debug_line && p < img.debug_line + img.debug_line_length)
{
- for (unsigned int p = 8; p < chksize; p += 2)
+ for (unsigned int w = 8; w < chksize; w += 2)
{
- unsigned short entry = *(unsigned short*)(relocbase + p);
+ unsigned short entry = *(unsigned short*)(relocbase + w);
unsigned short type = (entry >> 12) & 0xf;
unsigned short off = entry & 0xfff;