[PATCH] programs/wscript: use correct integral type