From 7b92a826ba59c62ee0232e9d6bd59db1c0d77f06 Mon Sep 17 00:00:00 2001 From: Anton Dolozin Date: Tue, 4 Nov 2025 23:45:48 +0100 Subject: [PATCH] Fixing adding error --- du5/a_station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du5/a_station.c b/du5/a_station.c index 080769a..ce4e013 100644 --- a/du5/a_station.c +++ b/du5/a_station.c @@ -16,7 +16,7 @@ void destroy_station(struct station* station){ } int select_track(struct station* station, const char* target){ - int hash = 0; + unsigned int hash = 0; for (int i = 0; i < strlen(target); i++) { hash += target[i] + (hash<<6) + (hash<<16) - hash;