Fix cosmetic issue with downcasting int to char. Note that d can be set to EOF (normally represented by int(-1)), so a cast to char _should_ not cause issues as char(255) is not a space character.
Fix cosmetic issue with downcasting int to char.
Note that d can be set to EOF (normally represented by int(-1)),
so a cast to char _should_ not cause issues as char(255) is
not a space character.

Kattis/problemtools,ghamerly/problemtools,Kattis/problemtools,ghamerly/problemtools,jsannemo/problemtools,Kattis/problemtools,jsannemo/problemtools,godmar/problemtools,jsannemo/problemtools,godmar/problemtools,godmar/problemtools,Kattis/problemtools,jsannemo/problemtools,ghamerly/problemtools,jbransen/problemtools,jbransen/problemtools,ghamerly/problemtools,jbransen/problemtools,godmar/problemtools,jbransen/problemtools