summary refs log tree commit diff
path: root/mseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'mseq.c')
-rw-r--r--mseq.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mseq.c b/mseq.c
index b1a1c7f..7f4ab52 100644
--- a/mseq.c
+++ b/mseq.c
@@ -246,6 +246,12 @@ stdinmode()
 	return 0;
 }
 
+void
+setcur(char *c)
+{
+	blaze822_seq_setcur(c);
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -270,7 +276,7 @@ main(int argc, char *argv[])
 		}
 
 	if (Cflag) {
-		blaze822_loop1(Cflag, (void (*)(char *))blaze822_seq_setcur);
+		blaze822_loop1(Cflag, setcur);
 		return 0;
 	}