Update tinyMoto.cpp

Fix compilation error as in stackoverflow