lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lily: fix some type conversion warnings (issue 557190043 by address@


From: benko . pal
Subject: Re: lily: fix some type conversion warnings (issue 557190043 by address@hidden)
Date: Wed, 22 Jan 2020 03:18:17 -0800

On 2020/01/22 10:15:03, hanwenn wrote:
> Why do we need to have the distinction between size_t and int? I know
the
> standard library returns size_t in some places, but is there any
reason for
> LilyPond to used unsigned integers anywhere? 

It's not just the sign (btw I like unsigned integers):
they also differ in size, at least on 64 bit architectures
int is int32_t, size_t is uint64_t.

p

https://codereview.appspot.com/557190043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]