Fix a warning pointed by GCC 7.1
authorLoic Blot <loic.blot@unix-experience.fr>
Thu, 18 May 2017 18:55:27 +0000 (20:55 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Thu, 18 May 2017 18:55:27 +0000 (20:55 +0200)
commit1c6d2f596df8fc2254916cf323bdbaf13905aebf
treef67d89f3a2785250aa0530a32ab9009c0df2b537
parent9b5effffbb0599f85014b53c3fd025b6a8222e02
Fix a warning pointed by GCC 7.1

lua_tonumber overflow in snprintf (12 bytes and only 10 can be written)
src/script/cpp_api/s_base.cpp