Package: wmusic Version: 2.1.0-2 Severity: normal Dear Maintainer,
When I play a song that's longer than 35 minutes, the remaining time indicator fails to display correctly. This is because it overflows the length field. Attached is a patch to fix the bug. Thank you, Jan Hasebos ========= 64c64 < void DrawTime(int time); --- > void DrawTime(gint64 time); 601c601,602 < int time = 0, length = 0, position = 100; --- > gint64 time = 0, length = 0; > int position = 100; 641c642 < length = atoi(length_str); --- > length = g_ascii_strtoll(length_str, NULL, 10); 695c696 < void DrawTime(int time) --- > void DrawTime(gint64 time) 710c711 < sprintf(timestr, "%02d%02d", time / 60, time % 60); --- > sprintf(timestr, "%02" G_GINT64_FORMAT "%02" G_GINT64_FORMAT, > time / 60, time % 60); 714c715 < sprintf(timestr, "%02d%02d", time / 3600, --- > sprintf(timestr, "%02" G_GINT64_FORMAT "%02" > G_GINT64_FORMAT, time / 3600, ========= -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages wmusic depends on: ii libc6 2.36-9 ii libdockapp3 1:0.7.3-2+b1 ii libglib2.0-0 2.74.6-2 ii libplayerctl2 2.4.1-2 ii libx11-6 2:1.8.4-2 wmusic recommends no packages. wmusic suggests no packages. -- no debconf information