diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2011-10-05 21:22:36 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 14:28:31 +0200 |
commit | 80054545c8c941bfc3df640090b148f044e272e6 (patch) | |
tree | 87526d32b00037a55d377df5ae4708873c556649 /src | |
parent | ca50290f92b4d37144275bbb1871188bd66ded09 (diff) |
make inlet and outlet counts signed to avoid compiler signed/unsigned warnings
svn path=/trunk/externals/loaders/pdlua/; revision=15522
Diffstat (limited to 'src')
-rw-r--r-- | src/pdlua.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pdlua.c b/src/pdlua.c index cf8564d..33df6fb 100644 --- a/src/pdlua.c +++ b/src/pdlua.c @@ -130,9 +130,9 @@ struct pdlua_proxyclock; typedef struct pdlua
{
t_object pd; /**< We are a Pd object. */
- unsigned int inlets; /**< Number of inlets. */
+ int inlets; /**< Number of inlets. */
struct pdlua_proxyinlet *in; /**< The inlets themselves. */
- unsigned int outlets; /**< Number of outlets. */
+ int outlets; /**< Number of outlets. */
t_outlet **out; /**< The outlets themselves. */
t_canvas *canvas; /**< The canvas that the object was created on. */
} t_pdlua;
@@ -453,7 +453,7 @@ static int pdlua_object_createinlets(lua_State *L) * \li \c 2 Number of inlets.
* */
{
- unsigned int i;
+ int i;
#ifdef PDLUA_DEBUG
post("pdlua_object_createinlets:");
@@ -483,7 +483,7 @@ static int pdlua_object_createoutlets(lua_State *L) * \li \c 2 Number of outlets.
* */
{
- unsigned int i;
+ int i;
#ifdef PDLUA_DEBUG
post("pdlua_object_createoutlets:");
@@ -656,7 +656,7 @@ static int pdlua_object_free(lua_State *L) * \li \c 1 Pd object pointer.
* */
{
- unsigned int i;
+ int i;
#ifdef PDLUA_DEBUG
post("pdlua_object_free:");
|