From 34574bf62c19e37622fa65547fc231c3739d1043 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 27 Aug 2014 21:35:13 +0200 Subject: [PATCH] Code cleanup --- tools/smscrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/smscrypt.c b/tools/smscrypt.c index 2377900..299fb1e 100644 --- a/tools/smscrypt.c +++ b/tools/smscrypt.c @@ -30,7 +30,7 @@ static void _helper_config_foreach(Phone * phone, char const * section, Config * config = (Config*)phone; #ifdef DEBUG fprintf(stderr, "DEBUG: %s(%p, \"%s\", %p, %p)\n", __func__, - (void*)phone, section, (void*)callback, priv); + (void *)phone, section, (void *)callback, priv); #endif config_foreach_section(config, section, callback, priv); } @@ -45,7 +45,7 @@ static char const * _helper_config_get(Phone * phone, char const * section, char const * ret; fprintf(stderr, "DEBUG: %s(%p, \"%s\", \"%s\")\n", __func__, - (void*)phone, section, variable); + (void *)phone, section, variable); ret = config_get(config, section, variable); fprintf(stderr, "DEBUG: %s() => \"%s\"\n", __func__, ret); return ret;