use a gint for direction, not a gchar which might be unsigned. Patch from

2008-02-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-preview.c
	(gimp_display_shell_trace_tri_edge): use a gint for direction, 
not
	a gchar which might be unsigned. Patch from Giuliano Pochini;
	fixes bug #340965.


svn path=/trunk/; revision=24795
This commit is contained in:
Sven Neumann 2008-02-04 22:44:29 +00:00 committed by Sven Neumann
parent a3d04e08c6
commit 11a91e4e7f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-02-04 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-preview.c
(gimp_display_shell_trace_tri_edge): use a gint for direction, not
a gchar which might be unsigned. Patch from Giuliano Pochini;
fixes bug #340965.
2008-02-04 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: only connect to page layout

View File

@ -828,7 +828,7 @@ gimp_display_shell_trace_tri_edge (gint *dest,
{
const gint dy = y2 - y1;
gint dx;
gchar xdir;
gint xdir;
gint errorterm;
gint b;
gint *dptr;