[Client & Aggregator] Print direction with PRIu8

This commit is contained in:
Matteo Cypriani 2011-04-07 11:56:32 +02:00
parent 9ddbfde5d5
commit aef4e5aed7
2 changed files with 2 additions and 2 deletions

View File

@ -436,7 +436,7 @@ int read_loop(int sockfd)
"\tPosition X: %f\n"
"\tPosition Y: %f\n"
"\tPosition Z: %f\n"
"\tDirection: %hhd\n"
"\tDirection: %"PRIu8"\n"
,
request.type,
owl_mac_bytes_to_string(request.ap_mac_addr_bytes),

View File

@ -287,7 +287,7 @@ void print_configuration()
"\tDelay: %"PRIuFAST32"\n"
"\tNumber of packets: %"PRIuFAST16"\n"
"\tListening port: %"PRIuFAST16"\n"
"\tDirection: %d\n"
"\tDirection: %"PRIu8"\n"
"\tX: %f\n"
"\tY: %f\n"
"\tZ: %f\n"