summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-09-13 21:26:29 +0700
committerGitHub <[email protected]>2021-09-13 21:26:29 +0700
commit1c3215257e965ca7cadd176b6890b91c9cdd6ef1 (patch)
tree57348a80bf8c1e59f507ba68d12bf131da158406 /src/common
parent7e6f954ffe7e3e574d629540d694ac91e14c245d (diff)
parentcdc63459ebf5bd979d1e98253abd3d75693dcdaf (diff)
Merge pull request #1091 from hathach/esp32sx-compliance
Esp32sx compliance
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;
}