From e84bf4a5995b26423129b9339dd387e2a7431a0a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 13 Aug 2015 18:27:21 +0000 Subject: data format fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14943 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YahooGroups/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/YahooGroups/src') diff --git a/plugins/YahooGroups/src/utils.cpp b/plugins/YahooGroups/src/utils.cpp index 60034353ce..8ffac76e0b 100644 --- a/plugins/YahooGroups/src/utils.cpp +++ b/plugins/YahooGroups/src/utils.cpp @@ -81,7 +81,7 @@ void HexToBin(char *inData, ULONG &size, LPBYTE &outData) for (i = 0; i < size; i++) { strncpy(buffer + 2, &tmp[i * 2], 2); - sscanf(buffer, "%x", &outData[i]); + sscanf(buffer, "%hhx", &outData[i]); } i = size; } -- cgit v1.2.3