extra casting required by new pointer type
From-SVN: r44221
This commit is contained in:
parent
d411036feb
commit
453f6a5b09
@ -1292,8 +1292,9 @@ test_for_changes (read_fd)
|
||||
altered_ct++;
|
||||
#endif
|
||||
/* IF there are matched data, write the matched part now. */
|
||||
if (pz_cmp != pz_curr_data)
|
||||
fwrite (pz_curr_data, (size_t)(pz_cmp - pz_curr_data), 1, out_fp);
|
||||
if ((char*)pz_cmp != pz_curr_data)
|
||||
fwrite (pz_curr_data, (size_t)((char*)pz_cmp - pz_curr_data),
|
||||
1, out_fp);
|
||||
|
||||
/* Emit the current unmatching character */
|
||||
putc (ch, out_fp);
|
||||
|
Loading…
Reference in New Issue
Block a user