[gtk+] Fix compilation warning: Cast to gchar*
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix compilation warning: Cast to gchar*
- Date: Mon, 9 Nov 2009 08:37:30 +0000 (UTC)
commit ef414cc6bf01adf667e036ec1d00e2ad15d98a74
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 9 01:53:25 2009 +0100
Fix compilation warning: Cast to gchar*
modules/printbackends/lpr/gtkprintbackendlpr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/printbackends/lpr/gtkprintbackendlpr.c b/modules/printbackends/lpr/gtkprintbackendlpr.c
index 4ba4ae4..0ee856c 100644
--- a/modules/printbackends/lpr/gtkprintbackendlpr.c
+++ b/modules/printbackends/lpr/gtkprintbackendlpr.c
@@ -179,7 +179,7 @@ _cairo_write (void *closure,
while (length > 0)
{
- g_io_channel_write_chars (io, data, length, &written, &error);
+ g_io_channel_write_chars (io, (const gchar*)data, length, &written, &error);
if (error != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]