[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:42:58 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=2c401ff

The following commit has been merged in the master branch:
commit 2c401ffa3dc0a4869a99f3aa546941724e0ae89f
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Sat Mar 24 01:57:02 2012 +0000

    #812: Changed LoadLibrary to LoadLibraryA (Thomas Beutlich).
---
 src/basicio.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/basicio.cpp b/src/basicio.cpp
index 5aa572b..04c7d94 100644
--- a/src/basicio.cpp
+++ b/src/basicio.cpp
@@ -262,7 +262,7 @@ namespace Exiv2 {
         HANDLE hFd = (HANDLE)_get_osfhandle(fileno(fp_));
         if (hFd != INVALID_HANDLE_VALUE) {
             typedef BOOL (WINAPI * GetFileInformationByHandle_t)(HANDLE, LPBY_HANDLE_FILE_INFORMATION);
-            HMODULE hKernel = LoadLibrary("kernel32.dll");
+            HMODULE hKernel = LoadLibraryA("kernel32.dll");
             if (hKernel) {
                 GetFileInformationByHandle_t pfcn_GetFileInformationByHandle = (GetFileInformationByHandle_t)GetProcAddress(hKernel, "GetFileInformationByHandle");
                 if (pfcn_GetFileInformationByHandle) {
@@ -280,7 +280,7 @@ namespace Exiv2 {
                 FreeLibrary(hKernel);
             }
 #ifdef DEBUG
-            else EXV_DEBUG << "LoadLibrary(\"kernel32.dll\") failed
";
+            else EXV_DEBUG << "LoadLibraryA(\"kernel32.dll\") failed
";
 #endif
         }
 #ifdef DEBUG

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list