1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 12:03:41 +01:00

(intern_string): Cast buf-pointer to int8_t* to shut up Intel

compiler warning.

(Logical change 1.205)
This commit is contained in:
hp.com!davidm 2004-04-20 16:53:44 +00:00
parent ed32b99716
commit 36e094230c

View file

@ -35,7 +35,7 @@ intern_string (unw_addr_space_t as, unw_accessors_t *a,
for (i = 0; i < buf_len; ++i)
{
if ((ret = fetch8 (as, a, &addr, buf + i, arg)) < 0)
if ((ret = fetch8 (as, a, &addr, (int8_t *) buf + i, arg)) < 0)
return ret;
if (buf[i] == '\0')