Fix inttypes.h usage

...I neglected to put a '%' character before using the PRI* macros.
master
jp9000 2014-02-14 16:05:52 -07:00
parent 8b8217f68e
commit 971faf09d5
3 changed files with 4 additions and 4 deletions

View File

@ -630,8 +630,8 @@ void audio_line_output(audio_line_t line, const struct audio_data *data)
} else {
blog(LOG_DEBUG, "Bad timestamp for audio line '%s', "
"data->timestamp: "PRIu64", "
"line->base_timestamp: "PRIu64". This can "
"data->timestamp: %"PRIu64", "
"line->base_timestamp: %"PRIu64". This can "
"sometimes happen when there's a pause in "
"the threads.", line->name, data->timestamp,
line->base_timestamp);

View File

@ -391,7 +391,7 @@ static inline void reset_audio_timing(obs_source_t source, uint64_t timetamp)
static inline void handle_ts_jump(obs_source_t source, uint64_t ts,
uint64_t diff)
{
blog(LOG_DEBUG, "Timestamp for source '%s' jumped by '"PRIu64"', "
blog(LOG_DEBUG, "Timestamp for source '%s' jumped by '%"PRIu64"', "
"resetting audio timing", source->name, diff);
/* if has video, ignore audio data until reset */

View File

@ -293,6 +293,6 @@ int main(int argc, char *argv[])
blog(LOG_ERROR, "%s", error);
}
blog(LOG_INFO, "Number of memory leaks: "PRIu64, bnum_allocs());
blog(LOG_INFO, "Number of memory leaks: %" PRIu64, bnum_allocs());
return ret;
}