--- src/usb/usb_resource_creator.cpp.orig 2013-04-08 15:47:56 UTC
+++ src/usb/usb_resource_creator.cpp
@@ -293,7 +293,7 @@ bool usb_resource::creator::open_device_and_get_serial
{
uint8_t bLength;
uint8_t bDescriptorType;
- uint16_t bString[0];
+ char16_t bString[0];
};
/// @todo may not be portable everywhere
--- src/usb/usb_string.h.orig 2013-01-07 10:35:29 UTC
+++ src/usb/usb_string.h
@@ -25,7 +25,7 @@ namespace usb {
namespace librevisa {
namespace usb {
-typedef std::basic_string<uint16_t> usb_string;
+typedef std::basic_string<char16_t> usb_string;
}