aboutsummaryrefslogtreecommitdiff
path: root/cforum.c
diff options
context:
space:
mode:
Diffstat (limited to 'cforum.c')
-rw-r--r--cforum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cforum.c b/cforum.c
index 80cc424..f29d423 100644
--- a/cforum.c
+++ b/cforum.c
@@ -47,7 +47,7 @@ main(int argc, char *argv[])
return 1;
}
if(sqlite3_step(stmt) == SQLITE_ROW)
- site.name = strdup(sqlite3_column_text(stmt, 0));
+ site.name = strdup((char *)sqlite3_column_text(stmt, 0));
else{
snprintf(err, MAXERR, "The site name is not set.\n");
srverr(err);