summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7bf8125)
* src/xheader.c (xheader_string_end): Make sure pointer
arithmetics applies on char*.
}
x_obstack_blank (xhdr, p);
x_obstack_1grow (xhdr, '\n');
}
x_obstack_blank (xhdr, p);
x_obstack_1grow (xhdr, '\n');
- cp = obstack_next_free (xhdr->stk) - xhdr->string_length - p - 1;
+ cp = (char*) obstack_next_free (xhdr->stk) - xhdr->string_length - p - 1;
memmove (cp + p, cp, xhdr->string_length);
cp = stpcpy (cp, np);
*cp++ = ' ';
memmove (cp + p, cp, xhdr->string_length);
cp = stpcpy (cp, np);
*cp++ = ' ';