aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_util.c
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2010-09-01 12:21:11 -0500
committerPeter Seebach <peter.seebach@windriver.com>2010-09-01 12:21:43 -0500
commit03e3352b66bd02d802d74e0e5c556ac26d87a04c (patch)
tree1fba6b9c23b1cd012997aa56945bc6f814b52aea /pseudo_util.c
parent853dc2e73b1fda93e4b3e2c0641c7ad7a4253936 (diff)
downloadpseudo-03e3352b66bd02d802d74e0e5c556ac26d87a04c.tar.gz
pseudo-03e3352b66bd02d802d74e0e5c556ac26d87a04c.tar.bz2
pseudo-03e3352b66bd02d802d74e0e5c556ac26d87a04c.zip
A couple more int/size_t mismatch fixes.
Diffstat (limited to 'pseudo_util.c')
-rw-r--r--pseudo_util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pseudo_util.c b/pseudo_util.c
index e2cabfe..2e75e69 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -73,18 +73,20 @@ int _in_init = -1; /* Not yet run */
static void _libpseudo_init(void) __attribute__ ((constructor));
+#if 0
static void dump_env(char **envp) {
size_t i = 0;
for (i = 0; envp[i]; i++) {
- pseudo_debug(0,"dump_envp: [%d]%s\n", i,envp[i]);
+ pseudo_debug(0,"dump_envp: [%d]%s\n", (int) i, envp[i]);
}
for (i = 0; pseudo_env[i].key; i++) {
- pseudo_debug(0,"dump_envp: {%d}%s=%s\n", i, pseudo_env[i].key, pseudo_env[i].value);
+ pseudo_debug(0,"dump_envp: {%d}%s=%s\n", (int) i, pseudo_env[i].key, pseudo_env[i].value);
}
pseudo_debug(0, "dump_envp: _in_init %d\n", _in_init);
}
+#endif
/* Caller must free memory! */
char * pseudo_get_value(const char * key) {