[PATCH] programs/progman: use correct integral type