Diff
Not logged in

Differences From:

File src/style.c part of check-in [e63a9fd9d0] - Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc. by jnc on 2007-09-25 21:21:35. Also file src/style.c part of check-in [16551da2e3] - Merge the vinfo CSS patches. by drh on 2007-09-25 20:39:14. [view]

To:

File src/style.c part of check-in [134e2aeccc] - Combine the "config" and "setting" commands into a single "settings" command. by drh on 2007-09-28 20:08:32. [view]

@@ -146,9 +146,9 @@
 ** WEBPAGE: home
 ** WEBPAGE: not_found
 */
 void page_index(void){
-  char *zHome = db_get("homepage", 0);
+  char *zHome = (char*)db_get("homepage", 0);
   if( zHome ){
     g.zExtra = zHome;
     g.okRdWiki = 1;
     wiki_page();