Making it easier to debounce switches

i get the following error

No, you don't.

/EdgeDebounce.cpp:102:12: warning: invalid conversion from 'byte {aka unsigned char}' to 'pinStatus' [-fpermissive]