diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2006-08-08 01:13:23 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2006-08-08 01:13:23 +0000 |
commit | 2868cdc7a2c93152543bac9bab6514f2bad5932e (patch) | |
tree | d6b5cb60539a919667e24eb3042f0f314f215951 | |
parent | 0b116bda491538a6f74600fbf508ada946a7ccee (diff) | |
download | mdk-2868cdc7a2c93152543bac9bab6514f2bad5932e.tar.gz mdk-2868cdc7a2c93152543bac9bab6514f2bad5932e.tar.bz2 |
Darwin compilation warnings fixed
Thanks to Aleix Conchillo.
git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-31
-rw-r--r-- | mixguile/xmixguile_cmd_dispatcher.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mixguile/xmixguile_cmd_dispatcher.c b/mixguile/xmixguile_cmd_dispatcher.c index 649471c..2523ea7 100644 --- a/mixguile/xmixguile_cmd_dispatcher.c +++ b/mixguile/xmixguile_cmd_dispatcher.c @@ -61,7 +61,7 @@ static SCM mixvm_cmd_ (SCM cmd, SCM arg) { char *com = NULL, *argu = NULL; - unsigned int len; + size_t len; gboolean result; SCM_ASSERT (SCM_STRINGP (cmd) || SCM_SYMBOLP (cmd), @@ -113,7 +113,7 @@ static SCM mix_reg_ (SCM reg) { char *regis; - unsigned int len; + size_t len; long val = MIX_WORD_MAX + 1; SCM_ASSERT (SCM_STRINGP (reg) || SCM_SYMBOLP (reg), reg, SCM_ARG1, "mix-reg"); @@ -151,7 +151,7 @@ static SCM mix_set_reg_ (SCM reg, SCM value) { char *regis; - unsigned int len; + size_t len; long val; gboolean result = TRUE; @@ -255,7 +255,7 @@ static SCM mix_set_cmp_ (SCM value) { gchar *val = NULL; - unsigned int len; + size_t len; mix_cmpflag_t result = -1; SCM_ASSERT (SCM_STRINGP (value) || SCM_SYMBOLP (value), value, SCM_ARG1, @@ -456,7 +456,7 @@ mix_add_hook_ (SCM cmd, SCM function, gboolean pre) { gchar *cmdstr = NULL; mix_vm_command_t command; - unsigned int len; + size_t len; const gchar *fun = pre? "mix-add-pre-hook" : "mix-add-post-hook"; SCM_ASSERT (SCM_STRINGP (cmd) || SCM_SYMBOLP (cmd), cmd, SCM_ARG1, fun); |