After a while, the procstats fields will overflow the
signed int field and the hd leds will be permanently on.
Use long instead of int for these counters
Gentoo original bug: https://bugs.gentoo.org/show_bug.cgi?id=325615
In particular, the following:
wmhdplop.c:451:96: warning: operation on ‘dl->touched_w’ may be undefined
[-Wsequence-point]
wmhdplop.c:980:44: warning: ignoring return value of ‘seteuid’, declared with
attribute warn_unused_result [-Wunused-result]
procstat.c:73:19: warning: variable ‘in_our_disk’ set but not used
[-Wunused-but-set-variable]
dockapp_imlib2.c:311:85: warning: unused parameter ‘prefs’ [-Wunused-parameter]
gkrellm_hdplop.c:187:40: warning: unused parameter ‘widget’
[-Wunused-parameter]
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
fix_compiler_warnings.patch/