diff USBLib/Communication/LibUsb1/LibUsb1Registry.cs @ 64:99ed461509fe

Fixed data type for USB vendor and product IDs
author Ivo Smits <Ivo@UCIS.nl>
date Sun, 13 Oct 2013 20:03:05 +0200
parents 2e3f57f326b3
children
line wrap: on
line diff
--- a/USBLib/Communication/LibUsb1/LibUsb1Registry.cs	Sun Oct 13 18:43:45 2013 +0200
+++ b/USBLib/Communication/LibUsb1/LibUsb1Registry.cs	Sun Oct 13 20:03:05 2013 +0200
@@ -39,8 +39,8 @@
 			return DeviceDescriptor.Value;
 		}
 
-		public int Vid { get { return GetDeviceDescriptor().idVendor; } }
-		public int Pid { get { return GetDeviceDescriptor().idProduct; } }
+		public UInt16 Vid { get { return GetDeviceDescriptor().idVendor; } }
+		public UInt16 Pid { get { return GetDeviceDescriptor().idProduct; } }
 		public byte InterfaceID { get { return 0; } }
 
 		public string Name {