changeset: 29:ac13902e05d6
tag: tip
user: Dimitrios Papastamos <stateless [at] archlinux.us>
date: Fri Feb 12 02:19:57 2010 +0000
files: skvm.c
description:
update.
diff -r b888ee4484ec -r ac13902e05d6 skvm.c
--- a/skvm.c Fri Feb 12 02:11:28 2010 +0000
+++ b/skvm.c Fri Feb 12 02:19:57 2010 +0000
@@ -157,12 +157,12 @@
int c;
static struct option long_options[] = {
- { "debug", 0, (int *)NULL, 'd' },
- { 0, 0, 0, 0 }
+ { "debug", no_argument, NULL, 'd' },
+ { NULL, no_argument, NULL, 0 }
};
while ((c = getopt_long(argc, argv, "d", long_options,
- (int *)NULL)) != -1) {
+ NULL)) != -1) {
switch (c) {
case 'd':
debug_mode_flag = 1;
Received on Fri Feb 12 2010 - 02:20:02 UTC
This archive was generated by hypermail 2.2.0 : Fri Feb 12 2010 - 02:24:08 UTC