Index: uspace/app/wavplay/dplay.c
===================================================================
--- uspace/app/wavplay/dplay.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/app/wavplay/dplay.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -43,4 +43,5 @@
 #include <sys/mman.h>
 #include <sys/time.h>
+#include <inttypes.h>
 
 #include <stdio.h>
@@ -104,5 +105,5 @@
 		case PCM_EVENT_PLAYBACK_STARTED:
 		case PCM_EVENT_FRAMES_PLAYED:
-			printf("%u frames: ", IPC_GET_ARG1(call));
+			printf("%" PRIun " frames: ", IPC_GET_ARG1(call));
 			async_answer_0(callid, EOK);
 			break;
@@ -116,5 +117,5 @@
 			return;
 		default:
-			printf("Unknown event %d.\n", IPC_GET_IMETHOD(call));
+			printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call));
 			async_answer_0(callid, ENOTSUP);
 			continue;
Index: uspace/app/wavplay/drec.c
===================================================================
--- uspace/app/wavplay/drec.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/app/wavplay/drec.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -41,4 +41,5 @@
 #include <stdio.h>
 #include <sys/mman.h>
+#include <inttypes.h>
 
 #include "wave.h"
@@ -103,9 +104,9 @@
 			record = false;
 		case PCM_EVENT_FRAMES_CAPTURED:
-			printf("%u frames\n", IPC_GET_ARG1(call));
+			printf("%" PRIun " frames\n", IPC_GET_ARG1(call));
 			async_answer_0(callid, EOK);
 			break;
 		default:
-			printf("Unknown event %d.\n", IPC_GET_IMETHOD(call));
+			printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call));
 			async_answer_0(callid, ENOTSUP);
 			continue;
Index: uspace/drv/bus/isa/i8237.c
===================================================================
--- uspace/drv/bus/isa/i8237.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/drv/bus/isa/i8237.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -476,10 +476,10 @@
 	/* Low byte */
 	const uint8_t value_low = pio_read_8(dma_channel.size_reg_address);
-	ddf_msg(LVL_DEBUG2, "Read size low byte: %p:%zx.",
+	ddf_msg(LVL_DEBUG2, "Read size low byte: %p:%x.",
 	    dma_channel.size_reg_address, value_low);
 	
 	/* High byte */
 	const uint8_t value_high = pio_read_8(dma_channel.size_reg_address);
-	ddf_msg(LVL_DEBUG2, "Read size high byte: %p:%zx.",
+	ddf_msg(LVL_DEBUG2, "Read size high byte: %p:%x.",
 	    dma_channel.size_reg_address, value_high);
 	fibril_mutex_unlock(&guard);
Index: uspace/lib/hound/src/client.c
===================================================================
--- uspace/lib/hound/src/client.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/lib/hound/src/client.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -36,4 +36,5 @@
 #include <adt/list.h>
 #include <errno.h>
+#include <inttypes.h>
 #include <loc.h>
 #include <str.h>
@@ -103,5 +104,6 @@
 	if (new_context) {
 		char *cont_name;
-		int ret = asprintf(&cont_name, "%llu:%s", task_get_id(), name);
+		int ret = asprintf(&cont_name, "%" PRIu64 ":%s",
+		    task_get_id(), name);
 		if (ret < 0) {
 			free(new_context);
Index: uspace/srv/audio/hound/audio_device.c
===================================================================
--- uspace/srv/audio/hound/audio_device.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/srv/audio/hound/audio_device.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -38,4 +38,5 @@
 #include <async.h>
 #include <errno.h>
+#include <inttypes.h>
 #include <loc.h>
 #include <str.h>
@@ -93,5 +94,5 @@
 	dev->buffer.fragment_size = 0;
 
-	log_verbose("Initialized device (%p) '%s' with id %u.",
+	log_verbose("Initialized device (%p) '%s' with id %" PRIun ".",
 	    dev, dev->name, dev->id);
 
Index: uspace/srv/audio/hound/hound_ctx.c
===================================================================
--- uspace/srv/audio/hound/hound_ctx.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/srv/audio/hound/hound_ctx.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -413,5 +413,5 @@
 		return ENOMEM;
 	}
-	log_verbose("CTX: %p. Mixing %zu streams", ctx,
+	log_verbose("CTX: %p: Mixing %u streams", ctx,
 	    list_count(&ctx->streams));
 	pcm_format_silence(buffer, size, &source->format);
@@ -424,5 +424,5 @@
 			log_warning("Not enough data in stream buffer");
 	}
-	log_verbose("CTX: %p. Pushing audio to %zu connections", ctx,
+	log_verbose("CTX: %p. Pushing audio to %u connections", ctx,
 	    list_count(&source->connections));
 	list_foreach(source->connections, it) {
Index: uspace/srv/audio/hound/iface.c
===================================================================
--- uspace/srv/audio/hound/iface.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/srv/audio/hound/iface.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -37,4 +37,5 @@
 #include <errno.h>
 #include <hound/protocol.h>
+#include <inttypes.h>
 #include <malloc.h>
 
@@ -73,5 +74,5 @@
 		return ret;
 	hound_ctx_destroy(ctx);
-	log_info("%s: %p, %#x", __FUNCTION__, server, id);
+	log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id);
 	return EOK;
 }
@@ -116,6 +117,6 @@
 	assert(server);
 
-	log_verbose("%s: %p, %d %x ch:%u r:%u f:%s", __FUNCTION__, server, id,
-	    flags, format.channels, format.sampling_rate,
+	log_verbose("%s: %p, %" PRIxn " %x ch:%u r:%u f:%s", __FUNCTION__,
+	    server, id, flags, format.channels, format.sampling_rate,
 	    pcm_sample_format_str(format.sample_format));
 	hound_ctx_t *ctx = hound_get_ctx_by_id(server, id);
Index: uspace/srv/audio/hound/main.c
===================================================================
--- uspace/srv/audio/hound/main.c	(revision 537620a892e20fa4a4182e2f1218b44c043cc551)
+++ uspace/srv/audio/hound/main.c	(revision e5bc9120ed82e9b8b88a9c71d1de105d75a6ff1e)
@@ -37,4 +37,5 @@
 #include <async.h>
 #include <errno.h>
+#include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -94,5 +95,5 @@
 		return -ret;
 	}
-	log_info("Running with service id %u", id);
+	log_info("Running with service id %" PRIun, id);
 
 	scan_for_devices();
