[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problem with string.format in lua 5.0 & 5.1
- From: "Todor Totev" <umbra.tenebris@...>
- Date: Mon, 19 Dec 2005 15:27:51 +0200
my compiler (MS VC++ 13.10) complains in function addintlen (in lstrlib.c)
that it is dangerous to assign size_t value to int variable.
The code is:
int l = strlen(form);
I changed l to be of type size_t.
On Thu, 15 Dec 2005 21:02:54 +0200, Roberto Ierusalimschy
Is this will be available in 5.0?
No... This is not a bug, but an improvement.
And where I can get the code from?
Follows the significant part from lstrlib.c (for 5.1). (luaconf.h should
change according to previous message.)