Changed CHAR_MAX to UCHAR_MAX in BlockBed.cpp, BlockButton.h.