blob: 884b37540839ec2371f7c6dd437bad998e2b3494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff -ur aMule-2.0.0rc7/src/utils/aLinkCreator/src/ed2khash.cpp aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/ed2khash.cpp
--- aMule-2.0.0rc7/src/utils/aLinkCreator/src/ed2khash.cpp 2004-08-09 19:01:34.000000000 +0200
+++ aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/ed2khash.cpp 2004-12-01 00:43:15.061834816 +0100
@@ -83,7 +83,7 @@
{
// Open file and let wxFFile destructor close the file
// Closing it explicitly may crash on Win32 ...
- wxFFile file(filename.GetFullPath(), wxT("rbS"));
+ wxFFile file( (const wxChar*) filename.GetFullPath(), (const char*) wxT("rbS"));
if (! file.IsOpened())
{
wxLogError (_("Unable to open %s"),unicode2char(filename.GetFullPath()));
diff -ur aMule-2.0.0rc7/src/utils/aLinkCreator/src/md4.cpp aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/md4.cpp
--- aMule-2.0.0rc7/src/utils/aLinkCreator/src/md4.cpp 2004-08-30 00:27:04.000000000 +0200
+++ aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/md4.cpp 2004-12-01 00:43:15.037838464 +0100
@@ -336,7 +336,7 @@
// Open file and let wxFFile destructor close the file
// Closing it explicitly may crash on Win32 ...
- wxFFile file(filename, wxT("rbS"));
+ wxFFile file((const wxChar*) filename, (const char*) wxT("rbS"));
if (! file.IsOpened())
{
return wxEmptyString;
|