dump_firm_type(type);
                        printk("(%x), id %llx is corrupted "
                               "(size=%d, expected %d)\n",
-                              type, id,
+                              type, (unsigned long long)id,
                               (unsigned)(endp - p), size);
                        goto corrupt;
                }
                }
                tuner_info("Reading firmware type ");
                dump_firm_type(type);
-               printk("(%x), id %lx, size=%d.\n",
-                          type, (unsigned long)id, size);
+               printk("(%x), id %llx, size=%d.\n",
+                          type, (unsigned long long)id, size);
 
                memcpy(priv->firm[n].ptr, p, size);
                priv->firm[n].type = type;
        tuner_dbg("%s firmware for type=", (i < 0)? "Can't find": "Found");
        if (debug) {
                dump_firm_type(type);
-               printk("(%x), id %08lx.\n", type, (unsigned long)*id);
+               printk("(%x), id %016llx.\n", type, (unsigned long long)*id);
        }
        return i;
 }
 
        tuner_info("Loading firmware for type=");
        dump_firm_type(type);
-       printk("(%x), id %08lx.\n", type, (unsigned long)*id);
+       printk("(%x), id %016llx.\n", type, (unsigned long long)*id);
 
        p = priv->firm[pos].ptr;