]> mj.ucw.cz Git - libucw.git/commitdiff
Libucw: Coding conventions fix
authorMichal Vaner <vorner@ucw.cz>
Mon, 21 Jul 2008 20:49:54 +0000 (22:49 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 22 Jul 2008 16:28:30 +0000 (18:28 +0200)
ucw/fb-buffer.c

index 35dd638118c841a36465d21510a4dd9f3571a4cd..1888cd516b0d9bdced19b85cfe60d2c5f07d27f9 100644 (file)
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
           char buff[20];
           fbbuf_init_write(&fb, buff, 20);
           bputs(&fb, "Hello world\n");
-          bputc(&fb, '\0');
+          bputc(&fb, 0);
           fputs(buff, stdout);
           break;
         }
@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
           char buff[4];
           fbbuf_init_write(&fb, buff, 4);
           bputs(&fb, "Hello");
-          bputc(&fb, '\0');
+          bputc(&fb, 0);
           fputs(buff, stdout);
           break;
         }