libc: Redefine int32_t/uint32_t as 'int' not 'long'

libc built from projectgus/newlib-xtensa@0077776963

Closes #42
This commit is contained in:
Angus Gratton 2015-09-05 12:54:09 +10:00
parent 920ee8bf85
commit 7ed064a750
10 changed files with 18 additions and 186 deletions

View file

@ -193,7 +193,7 @@ INLINED bool _timer_set_frequency_impl(const timer_frc_t frc, uint32_t freq)
counts = timer_freq_to_count(frc, freq, div);
if(counts == 0)
{
printf("ABORT: No counter for timer %u frequency %lu\r\n", frc, freq);
printf("ABORT: No counter for timer %u frequency %u\r\n", frc, freq);
abort();
}