You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-rpg/freedink/files/freedink-109.6-odr.patch

15 lines
364 B

Only ever used as struct FF_Handle *, not seeing why this void is here.
error: 'FastFileOpen' violates the C++ One Definition Rule [-Werror=odr]
--- a/src/fastfile.cpp
+++ b/src/fastfile.cpp
@@ -217,3 +217,3 @@
-void *
+struct FF_Handle *
FastFileOpen(char *name)
@@ -254,3 +254,3 @@
i->len = next_off - i->off;
- return (void*)i;
+ return i;
}