# HG changeset patch # User Karl Heuer # Date 780866621 0 # Node ID 516fdeee89d694e723447907a72f714ca6b571d6 # Parent b27c4cad21fbfee03726d729eb38e9df095c6a65 (x_report_frame_params): Fix format/arg mismatch. diff -r b27c4cad21fb -r 516fdeee89d6 src/xfns.c --- a/src/xfns.c Thu Sep 29 19:22:57 1994 +0000 +++ b/src/xfns.c Thu Sep 29 19:23:41 1994 +0000 @@ -704,7 +704,7 @@ make_number (f->display.x->border_width)); store_in_alist (alistptr, Qinternal_border_width, make_number (f->display.x->internal_border_width)); - sprintf (buf, "%d", FRAME_X_WINDOW (f)); + sprintf (buf, "%ld", (long) FRAME_X_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf)); FRAME_SAMPLE_VISIBILITY (f);