summaryrefslogtreecommitdiff
path: root/gcc/unwind-pe.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/unwind-pe.h')
-rw-r--r--gcc/unwind-pe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unwind-pe.h b/gcc/unwind-pe.h
index 224ade33209..e6aebd7a411 100644
--- a/gcc/unwind-pe.h
+++ b/gcc/unwind-pe.h
@@ -199,7 +199,7 @@ read_encoded_value_with_base (unsigned char encoding, _Unwind_Ptr base,
_Unwind_Internal_Ptr a = (_Unwind_Internal_Ptr) p;
a = (a + sizeof (void *) - 1) & - sizeof(void *);
result = *(_Unwind_Internal_Ptr *) a;
- p = (const unsigned char *) (a + sizeof (void *));
+ p = (const unsigned char *) (_Unwind_Internal_Ptr) (a + sizeof (void *));
}
else
{