void-packages/srcpkgs/eboard/patches/ntext.patch

12 lines
260 B
Diff
Raw Normal View History

2017-01-05 22:23:16 +01:00
--- 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);