From afac78f6ea8a66c176d3a06b7b5beccc81bac0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20S=C3=A1nchez=20Ortega?= Date: Wed, 28 Feb 2018 10:31:58 +0100 Subject: [PATCH] Make linter happier. --- src/serialport_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialport_win.cpp b/src/serialport_win.cpp index a98fdd7fd8..0952d53817 100644 --- a/src/serialport_win.cpp +++ b/src/serialport_win.cpp @@ -661,7 +661,7 @@ void getSerialNumber(const char *vid, &deviceInfoData, &DEVPKEY_Device_ContainerId, &ulPropertyType, - reinterpret_castszWUuidBuffer, + reinterpret_cast(szWUuidBuffer), sizeof(szWUuidBuffer), &dwSize, 0)) {