YAY for casting, but let's not exaggerate...

Signed-off-by: emanuele <emanuele45@gmail.com>