From 4fb78213afa7b69c7cefed63238c08aceba81610 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Sun, 30 Apr 2006 13:53:04 -0500 Subject: [PATCH] int != gssize !!! --- moo/mooapp/mooappinput.c | 2 +- moo/mooapp/mooappinput.h | 2 +- moo/mooterm/mootermpt-unix.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/moo/mooapp/mooappinput.c b/moo/mooapp/mooappinput.c index 72732719..f2b72df4 100644 --- a/moo/mooapp/mooappinput.c +++ b/moo/mooapp/mooappinput.c @@ -251,7 +251,7 @@ gboolean moo_app_input_start (MooAppInput *ch) gboolean _moo_app_input_send_msg (const char *pipe_basename, const char *data, - int len) + gssize len) { g_return_val_if_fail (pipe_basename != NULL, FALSE); g_return_val_if_fail (data != NULL, FALSE); diff --git a/moo/mooapp/mooappinput.h b/moo/mooapp/mooappinput.h index 232f6a5c..58bfa4c6 100644 --- a/moo/mooapp/mooappinput.h +++ b/moo/mooapp/mooappinput.h @@ -96,7 +96,7 @@ const char *moo_app_input_get_name (MooAppInput *ch); gboolean _moo_app_input_send_msg (const char *pipe_basename, const char *data, - int len); + gssize len); G_END_DECLS diff --git a/moo/mooterm/mootermpt-unix.c b/moo/mooterm/mootermpt-unix.c index e8a9eb50..caa69c30 100644 --- a/moo/mooterm/mootermpt-unix.c +++ b/moo/mooterm/mootermpt-unix.c @@ -573,7 +573,7 @@ static void stop_writer (MooTermPt *pt) static void pt_write (MooTermPt *pt, const char *data, - int data_len) + gssize data_len) { g_return_if_fail (data == NULL || data_len != 0); g_return_if_fail (pt->priv->child_alive);