diff --git a/tests/driver_dht/main.c b/tests/driver_dht/main.c
index aa651e0a86ab6eddfb1250503a8918f25cdbe544..9edfed25768182bfcb194b4b6a6b12c7dea75af7 100644
--- a/tests/driver_dht/main.c
+++ b/tests/driver_dht/main.c
@@ -53,7 +53,7 @@ int main(void)
             int_hum = hum / 10;
             dec_hum = hum - (int_hum * 10);
 
-            printf("DHT device #%i - ", i);
+            printf("DHT device #%u - ", i);
             printf("temp: %i.%i°C, ", int_temp, dec_temp);
             printf("relative humidity: %i.%i%%\n", int_hum, dec_hum);