Mercurial > emacs
comparison src/xterm.c @ 23107:44eda932afcf
(x_calc_absolute_position): Cast argument to XFree, in
case it was prototyped the old way.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 26 Aug 1998 20:29:59 +0000 |
parents | 4e83e072cd97 |
children | b992f7bb67d7 |
comparison
equal
deleted
inserted
replaced
23106:a0082bd79e91 | 23107:44eda932afcf |
---|---|
5473 | 5473 |
5474 if (! XQueryTree (FRAME_X_DISPLAY (f), this_window, &newroot, | 5474 if (! XQueryTree (FRAME_X_DISPLAY (f), this_window, &newroot, |
5475 &newparent, &newchildren, &nchildren)) | 5475 &newparent, &newchildren, &nchildren)) |
5476 break; | 5476 break; |
5477 | 5477 |
5478 XFree (newchildren); | 5478 XFree ((char *) newchildren); |
5479 | 5479 |
5480 f->output_data.x->parent_desc = newparent; | 5480 f->output_data.x->parent_desc = newparent; |
5481 } | 5481 } |
5482 else | 5482 else |
5483 break; | 5483 break; |