[dia] [warningectomy] 'gdk_gc_set_dashes' differ in signedness
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] 'gdk_gc_set_dashes' differ in signedness
- Date: Sun, 8 Apr 2012 11:08:25 +0000 (UTC)
commit 04657315e3747ca5a16a4d940a727852e06b6a71
Author: Hans Breuer <hans breuer org>
Date: Sat Dec 3 20:55:49 2011 +0100
[warningectomy] 'gdk_gc_set_dashes' differ in signedness
lib/diagdkrenderer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/diagdkrenderer.c b/lib/diagdkrenderer.c
index 015fb9a..c813dc8 100644
--- a/lib/diagdkrenderer.c
+++ b/lib/diagdkrenderer.c
@@ -701,7 +701,7 @@ draw_text_line (DiaRenderer *object, TextLine *text_line,
int width_pixels = dia_transform_length(renderer->transform,
text_line_get_width(text_line));
gdk_gc_set_foreground(renderer->gc, &gdkcolor);
- gdk_gc_set_dashes(renderer->gc, 0, (guint8*)"\1\2", 2);
+ gdk_gc_set_dashes(renderer->gc, 0, (gint8*)"\1\2", 2);
dia_transform_coords(renderer->transform, start_pos.x, start_pos.y, &x, &y);
gdk_draw_line(renderer->pixmap, renderer->gc, x, y, x + width_pixels, y);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]