Re: [PATCH v3] Fix variadic type mismatch in pushutfchar -- passes long but %U expects unsigned long

Luiz Henrique de Figueiredo <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <CABt16q=cP4MLJ0zZQgNh5jMOubNwyWeEJoBU295z_va0FKMwCw@mail.gmail.com>
%U means UTF-8. See lobject.c:

case 'U': { /* an 'unsigned long' as a UTF-8 sequence */


On Thu, 26 Feb 2026 at 10:17 Denis Dos Santos Silva <[email protected]>
wrote:

> c89/c90 ANSI:
> lua_pushfstring(L, "%lu", (unsigned long)code)
>

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/CABt16q%3DcP4MLJ0zZQgNh5jMOubNwyWeEJoBU295z_va0FKMwCw%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.