summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index d0cc41285..1899b35cc 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -380,7 +380,7 @@ static inline const char* tu_lookup_find(tu_lookup_table_t const* p_table, uint3
}
// not found return the key value in hex
- sprintf(not_found, "0x%08lX", key);
+ sprintf(not_found, "0x%08lX", (unsigned long) key);
return not_found;
}