Fix crash while editing tools under 64 bits arch.
Fix crash while editing tools under 64 bits arch.

This commit fixes count computation on tools strings array (ie. tool_types).


danheeks/heekscnc,danheeks/heekscnc,danheeks/heekscnc,danheeks/heekscnc