[kronosnet/kronosnet] 0f9882: [build] more casting fixes