cast frequence to unsigned long long

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>