* 64 bit cleanness
authorWilfried Göesgens <willi@citadel.org>
Thu, 24 Jun 2010 22:28:56 +0000 (22:28 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 24 Jun 2010 22:28:56 +0000 (22:28 +0000)
webcit/roomops.c

index 099c40286e4c67f6a896994cd832177920ddbea3..d270dfc775e26ff6432b0d1b60098f19d596230f 100644 (file)
@@ -1254,7 +1254,7 @@ void display_editroom(void)
                
                        wc_printf("<ul><li>");
                        wc_printf(_("Name of room: "));
-                       wc_printf("<input type=\"text\" NAME=\"er_name\" VALUE=\"%s\" MAXLENGTH=\"%d\">\n",
+                       wc_printf("<input type=\"text\" NAME=\"er_name\" VALUE=\"%s\" MAXLENGTH=\""ULONG_FMT"\">\n",
                                er_name,
                                (sizeof(er_name)-1)
                                );