Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix compiler warnings about narrowing conversion #57
The latest 1.5.7 beta release of Arduino includes an updated toolchain which now issues warnings about narrowing of ints to chars inside curly braces becoming ill-formed in C++11 if warnings are enabled.
The commit below explicitly casts the values to char to prevent these warnings being emitted.