void-packages/srcpkgs/eboard/patches/ntext.patch
2017-01-08 19:44:48 +01:00

11 lines
260 B
Diff

--- ntext.cc.orig 2017-01-05 00:57:16.943420989 +0100
+++ ntext.cc 2017-01-05 00:57:29.321421367 +0100
@@ -244,7 +244,7 @@
return;
}
- p = strchr(text, '\n');
+ p = (char *) strchr(text, '\n');
if (p!=NULL) {
*p = 0;
i = strlen(text);