guint64 - guint64 is of type guint64, so ABS doesn't work on it. Cast to gint64 to make sure this works.