This variable can only hold 0-255, so you’ll need to change it to a larger type, e.g. unsigned short or uint16_t:
I mentioned to you that SmartMatrix Library 4.0 has an optional new Layer for scrolling text, but it’s not optimized for your use case of scrolling really long strings. The Layer you’re using now allocates memory for the size of the screen. The new GFX Layer needs to allocate memory for the size of the graphics that will be displayed, and in your case a long string, with potentially a large font, could use a lot more memory. Just FYI in case you’re thinking of switching.