summaryrefslogtreecommitdiff
path: root/ao-tools/ao-view
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-09-04 14:21:19 -0700
committerKeith Packard <keithp@keithp.com>2009-09-04 14:21:19 -0700
commit0935d6a7e907e20381a42882ae728051f9bece02 (patch)
treeb2a591c1679a9c7f38dfbf8bb419556405857d74 /ao-tools/ao-view
parent0c771d999914f9d17c723900f2987acc45fd0fbb (diff)
Parse the USB serial number as an integer.
AltOS devices use simple integer serial numbers, so parse the USB value as such to make matching values more forgiving. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-view')
-rw-r--r--ao-tools/ao-view/aoview_dev_dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/ao-view/aoview_dev_dialog.c b/ao-tools/ao-view/aoview_dev_dialog.c
index 87396c1f..2ea43203 100644
--- a/ao-tools/ao-view/aoview_dev_dialog.c
+++ b/ao-tools/ao-view/aoview_dev_dialog.c
@@ -29,7 +29,7 @@ aoview_dev_dialog_map(GtkWidget *widget, gpointer data)
list_store = gtk_list_store_new(3,
G_TYPE_STRING,
- G_TYPE_STRING,
+ G_TYPE_INT,
G_TYPE_STRING);
devs = cc_usbdevs_scan();