extra casting required by new pointer type
From-SVN: r44222
This commit is contained in:
parent
90376ae2b4
commit
c8b0c191f7
1 changed files with 3 additions and 2 deletions
|
@ -1292,8 +1292,9 @@ test_for_changes (read_fd)
|
||||||
altered_ct++;
|
altered_ct++;
|
||||||
#endif
|
#endif
|
||||||
/* IF there are matched data, write the matched part now. */
|
/* IF there are matched data, write the matched part now. */
|
||||||
if (pz_cmp != pz_curr_data)
|
if ((char*)pz_cmp != pz_curr_data)
|
||||||
fwrite (pz_curr_data, (size_t)(pz_cmp - pz_curr_data), 1, out_fp);
|
fwrite (pz_curr_data, (size_t)((char*)pz_cmp - pz_curr_data),
|
||||||
|
1, out_fp);
|
||||||
|
|
||||||
/* Emit the current unmatching character */
|
/* Emit the current unmatching character */
|
||||||
putc (ch, out_fp);
|
putc (ch, out_fp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue