win32: fix uint8_t -> uint16_t argument
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 5 Oct 2011 21:52:05 +0000 (23:52 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 5 Oct 2011 21:52:05 +0000 (23:52 +0200)
include/CECExportsCpp.h

index f9fb0ab15e08e525730f182af1a36889e7148f83..d5903515b4d9603c54927f336c15015b08fe0be8 100644 (file)
@@ -137,7 +137,7 @@ static int g_iLibCECInstanceCount = 0;
  */
 inline CEC::ICECAdapter *LoadLibCec(const char *strName, CEC::cec_logical_address iLogicalAddress = CEC::CECDEVICE_PLAYBACKDEVICE1, uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS)
 {
-  typedef void* (__cdecl*_CreateLibCec)(const char *, uint8_t, uint8_t);
+  typedef void* (__cdecl*_CreateLibCec)(const char *, uint8_t, uint16_t);
   _CreateLibCec CreateLibCec;
 
   if (!g_libCEC)