Skip to content

Commit e397ed5

Browse files
authored
Remove unnecessary cast
1 parent 2d39980 commit e397ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {
151151
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP)
152152
lib->handle = LoadLibraryA((char*)lib->filename);
153153
#else
154-
LPTSTR wcLibFilename = xmlSecWin32ConvertUtf8ToTstr((char*)lib->filename);
154+
LPTSTR wcLibFilename = xmlSecWin32ConvertUtf8ToTstr(lib->filename);
155155
if(wcLibFilename == NULL) {
156156
xmlSecIOError("xmlSecWin32ConvertUtf8ToTstr", lib->filename, NULL);
157157
xmlSecCryptoDLLibraryDestroy(lib);

0 commit comments

Comments
 (0)