summaryrefslogtreecommitdiffhomepage
path: root/mixguile
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
commit23050dc35f5c0735cc69f3d74b6c5385635af42d (patch)
treec280f684878048fd68f13bb6d1f97a07ae6381ec /mixguile
parentdf47b5c3ac50b7b51733249dd2a43d83eea3c337 (diff)
downloadmdk-23050dc35f5c0735cc69f3d74b6c5385635af42d.tar.gz
mdk-23050dc35f5c0735cc69f3d74b6c5385635af42d.tar.bz2
use unsigned int for length parameters.
Diffstat (limited to 'mixguile')
-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);