Commit 77a765fd authored by Paul Eggert's avatar Paul Eggert
Browse files

* image.c (x_edge_detection): Remove unnecessary cast that

gcc -Wbad-function-cast diagnoses.
parent e22cffbc
......@@ -3,6 +3,8 @@
* image.c (clear_image_cache): Now static.
(DIM, HAVE_STDLIB_H_1): Remove unused macros.
(xpm_load): Redo to avoid "discards qualifiers" gcc warning.
(x_edge_detection): Remove unnecessary cast that
gcc -Wbad-function-cast diagnoses.
2011-03-11 Paul Eggert <>
......@@ -4687,7 +4687,7 @@ x_edge_detection (struct frame *f, struct image *img, Lisp_Object matrix,
color_adjust = make_number (0xffff / 2);
if (i == 9 && NUMBERP (color_adjust))
x_detect_edges (f, img, trans, (int) XFLOATINT (color_adjust));
x_detect_edges (f, img, trans, XFLOATINT (color_adjust));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment