Permalink
Browse files

Correct an error in the signature of csd_consider which was causing i…

…t to get a mangled C++ name
  • Loading branch information...
1 parent d0520d3 commit 0f7e2e505c621b8d22b2feb184733bc5bc857b80 @batterseapower committed Oct 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 charsetdetect.cpp
View
@@ -59,7 +59,7 @@ csd_t csd_open(void) {
return new Detector(NS_FILTER_ALL);
}
-int csd_consider(csd_t csd, char *data, int length) {
+int csd_consider(csd_t csd, const char *data, int length) {
return ((Detector*)csd)->Consider(data, length);
}

0 comments on commit 0f7e2e5

Please sign in to comment.