summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-04-08 14:39:55 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-08 14:39:55 (GMT)
commit6c3ac2af5c7b5693bb34213c629053203cacea78 (patch)
treec8c08d1a83c844dd3ee795d34f72603c0a83119c /src/main.c
parent626cc8fa6a6cf5e2f046d138b72e3122614c46ad (diff)
downloadpowder-6c3ac2af5c7b5693bb34213c629053203cacea78.zip
powder-6c3ac2af5c7b5693bb34213c629053203cacea78.tar.gz
Remove more warnings
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index c6776d3..921471e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2673,14 +2673,14 @@ int main(int argc, char *argv[])
#ifdef BETA
if (is_beta)
{
- old_ver_len = textwidth(old_ver_msg_beta);
+ old_ver_len = textwidth((char*)old_ver_msg_beta);
}
else
{
- old_ver_len = textwidth(old_ver_msg);
+ old_ver_len = textwidth((char*)old_ver_msg);
}
#else
- old_ver_len = textwidth(old_ver_msg);
+ old_ver_len = textwidth((char*)old_ver_msg);
#endif
menu_count();
parts = calloc(sizeof(particle), NPART);