OSDN Git Service

tools: Fix issue with bt_compidtostr being const
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 30 Dec 2012 06:59:07 +0000 (22:59 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 30 Dec 2012 06:59:07 +0000 (22:59 -0800)
tools/hwdb.c

index d909f5c..f486563 100644 (file)
@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
        printf("#  http://www.bluetooth.org/Technical/AssignedNumbers/identifiers.htm\n");
 
        for (id = 0;; id++) {
-               char *str;
+               const char *str;
                int i;
 
                str = bt_compidtostr(id);