Imported Upstream version 3.0.4
[debian/gnuradio] / usrp / host / lib / usrp_prims.cc
index 2fd594fa09d05f14548382922a96531689e44f38..8fe87a723ada19fc39e6da2581c2a9e92b0840fe 100644 (file)
@@ -6,7 +6,7 @@
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -1344,7 +1344,7 @@ usrp_write_dboard_offsets (struct usb_dev_handle *udh, int slot_id,
 std::string
 usrp_serial_number(struct usb_dev_handle *udh)
 {
-  u_int8_t iserial = usb_device(udh)->descriptor.iSerialNumber;
+  unsigned char iserial = usb_device(udh)->descriptor.iSerialNumber;
   if (iserial == 0)
     return "";