summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2005-09-20 19:50:26 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2005-09-20 19:50:26 +0000
commit61a905db3fa69002768f97f90616ef83cb004f43 (patch)
treec47dd104cbc9afacf8a71d1078e7d878659cf335
parente349dc012316a0a7764e20728a54cfe3d714d370 (diff)
downloadmdk-61a905db3fa69002768f97f90616ef83cb004f43.tar.gz
mdk-61a905db3fa69002768f97f90616ef83cb004f43.tar.bz2
use unsigned int for length parameters.
-rw-r--r--mixguile/xmixguile_cmd_dispatcher.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mixguile/xmixguile_cmd_dispatcher.c b/mixguile/xmixguile_cmd_dispatcher.c
index 36c253b..2ccd19c 100644
--- a/mixguile/xmixguile_cmd_dispatcher.c
+++ b/mixguile/xmixguile_cmd_dispatcher.c
@@ -1,9 +1,9 @@
/* -*-c-*- -------------- xmixguile_cmd_dispatcher.c :
* Implementation of the functions declared in xmixguile_cmd_dispatcher.h
* ------------------------------------------------------------------
- * $Id: xmixguile_cmd_dispatcher.c,v 1.13 2005/09/20 19:43:14 jao Exp $
+ * $Id: xmixguile_cmd_dispatcher.c,v 1.14 2005/09/20 19:50:26 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -63,7 +63,7 @@ static SCM
mixvm_cmd_ (SCM cmd, SCM arg)
{
char *com = NULL, *argu = NULL;
- int len;
+ unsigned int len;
gboolean result;
SCM_ASSERT (SCM_STRINGP (cmd) || SCM_SYMBOLP (cmd),
@@ -115,7 +115,7 @@ static SCM
mix_reg_ (SCM reg)
{
char *regis;
- int len;
+ unsigned int len;
long val = MIX_WORD_MAX + 1;
SCM_ASSERT (SCM_STRINGP (reg) || SCM_SYMBOLP (reg), reg, SCM_ARG1, "mix-reg");
@@ -153,7 +153,7 @@ static SCM
mix_set_reg_ (SCM reg, SCM value)
{
char *regis;
- int len;
+ unsigned int len;
long val;
gboolean result = TRUE;
@@ -257,7 +257,7 @@ static SCM
mix_set_cmp_ (SCM value)
{
gchar *val = NULL;
- int len;
+ unsigned int len;
mix_cmpflag_t result = -1;
SCM_ASSERT (SCM_STRINGP (value) || SCM_SYMBOLP (value), value, SCM_ARG1,
@@ -458,7 +458,7 @@ mix_add_hook_ (SCM cmd, SCM function, gboolean pre)
{
gchar *cmdstr = NULL;
mix_vm_command_t command;
- int len;
+ unsigned int 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);