Skip to content

Commit f780a26

Browse files
committed
Well, how about that? null isn't void*
1 parent 2c4a063 commit f780a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/with_chgat.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ void main()
77

88
init_pair(1, COLOR_CYAN, COLOR_BLACK);
99
printw(toStringz("A Big string which i didn't care to type fully... "));
10-
mvchgat(0, 0, -1, cast(attr_t)A_BLINK, cast(short)1, null);
10+
mvchgat(0, 0, -1, cast(attr_t)A_BLINK, cast(short)1, cat(void*)null);
1111
/*
1212
* First two parameters specify the position at which to start
1313
* Third parameter number of characters to update. -1 means till

0 commit comments

Comments
 (0)