Skip to content

Commit aa9152a

Browse files
jeplerdpgeorge
authored andcommitted
unix/coverage: Provide argmuents of expected integer types.
Signed-off-by: Jeff Epler <jepler@gmail.com>
1 parent db7e935 commit aa9152a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/unix/coverage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static mp_obj_t extra_coverage(void) {
203203
mp_printf(&mp_plat_print, "# mp_printf\n");
204204
mp_printf(&mp_plat_print, "%d %+d % d\n", -123, 123, 123); // sign
205205
mp_printf(&mp_plat_print, "%05d\n", -123); // negative number with zero padding
206-
mp_printf(&mp_plat_print, "%ld\n", 123); // long
206+
mp_printf(&mp_plat_print, "%ld\n", 123l); // long
207207
mp_printf(&mp_plat_print, "%lx\n", 0x123fl); // long hex
208208
mp_printf(&mp_plat_print, "%lX\n", 0x123fl); // capital long hex
209209
if (sizeof(mp_int_t) == 8) {

0 commit comments

Comments
 (0)