Then it's just a warning....

/home/wolfgang/Projekte/TestSqlite/application.vala:192:33: warning: format 
‘%lld’ expects argument of type ‘long long int’, but argument 2 has type 
‘gint64 {aka long int}’ [-Wformat=]

But still the question is not answered ;-)



Von: Ulink <ul...@gmx.at>
Gesendet: 09.10.2018 17:39
An: <vala-list@gnome.org>
Betreff: Re: [Vala] printf question
> cellRendererText.text = ("%"+int64.FORMAT).printf((int64)obj); <---- 
int64.format="li">
> this works,
>
> but when i try this, witch is the same
> cellRendererText.text = ("%li").printf((int64)obj);
>
> i get thiss error
>
> application.vala:192.45-192.54: error: Argument 1: Cannot convert from 
`int64' to `long'

What about "%lld" ?


_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
</---->

_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to