blob: 560c3ddc6537a800fc5fd4cb89e948521b14eff5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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;
}
|