common: fix compilation warning