|
From: Luiz A. D. de L. <lui...@gm...> - 2011-08-27 02:10:40
|
Hello, This is a simple fix in order to have google-calendar compile on x86_64. gi...@gi...:luizluca/google-calendar.git fixprintf Regards, --- Luiz Angelo Daros de Luca, Me. lui...@gm... |
|
From: Luiz A. D. de L. <lui...@gm...> - 2011-08-27 02:22:03
|
Sorry, wrong git URI git://github.com/luizluca/google-calendar.git fixprintf I guess %lu is ok for printf, isn't it? --- Luiz Angelo Daros de Luca, Me. lui...@gm... 2011/8/26 Luiz Angelo Daros de Luca <lui...@gm...>: > Hello, > > This is a simple fix in order to have google-calendar compile on x86_64. > > gi...@gi...:luizluca/google-calendar.git fixprintf > > Regards, > --- > Luiz Angelo Daros de Luca, Me. > lui...@gm... > |
|
From: Chris F. <cd...@fo...> - 2011-09-01 05:34:09
|
On Fri, Aug 26, 2011 at 11:21:37PM -0300, Luiz Angelo Daros de Luca wrote: > Sorry, wrong git URI > > git://github.com/luizluca/google-calendar.git fixprintf > > I guess %lu is ok for printf, isn't it? That works for 64bit, but it balked on my 32 bit. :-) I like the %lu, but added a cast, so it works on both 32 and 64bit. Thanks! - Chris |
|
From: Rick S. <rw...@al...> - 2011-09-01 10:36:10
|
On Thu, 2011-09-01 at 01:26 -0400, Chris Frey wrote: > On Fri, Aug 26, 2011 at 11:21:37PM -0300, Luiz Angelo Daros de Luca wrote: > > Sorry, wrong git URI > > > > git://github.com/luizluca/google-calendar.git fixprintf > > > > I guess %lu is ok for printf, isn't it? > > That works for 64bit, but it balked on my 32 bit. :-) > > I like the %lu, but added a cast, so it works on both 32 and 64bit. > %zu works for both. > Thanks! > - Chris > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Opensync-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-devel |
|
From: Luiz A. D. de L. <lui...@gm...> - 2011-09-01 18:43:08
|
Thanks guys!
I've seen that %zu is not portable for C90. I guess this is no problem for
opensync :-)
As I'm not a C expert, I asked for some help :-)
Regards,
---
Luiz Angelo Daros de Luca, Me.
lui...@gm...
2011/9/1 Rick Scott <rw...@al...>
> On Thu, 2011-09-01 at 01:26 -0400, Chris Frey wrote:
> > On Fri, Aug 26, 2011 at 11:21:37PM -0300, Luiz Angelo Daros de Luca
> wrote:
> > > Sorry, wrong git URI
> > >
> > > git://github.com/luizluca/google-calendar.git fixprintf
> > >
> > > I guess %lu is ok for printf, isn't it?
> >
> > That works for 64bit, but it balked on my 32 bit. :-)
> >
> > I like the %lu, but added a cast, so it works on both 32 and 64bit.
> >
>
> %zu works for both.
>
> > Thanks!
> > - Chris
> >
> >
> >
> ------------------------------------------------------------------------------
> > Special Offer -- Download ArcSight Logger for FREE!
> > Finally, a world-class log management solution at an even better
> > price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> > download Logger. Secure your free ArcSight Logger TODAY!
> > http://p.sf.net/sfu/arcsisghtdev2dev
> > _______________________________________________
> > Opensync-devel mailing list
> > Ope...@li...
> > https://lists.sourceforge.net/lists/listinfo/opensync-devel
>
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Opensync-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opensync-devel
>
|
|
From: Chris F. <cd...@fo...> - 2011-09-01 19:45:06
|
Obviously I should have read the man page slower. :-) I've changed it to %zu, and it works for me. Thanks Rick and Luiz! - Chris On Thu, Sep 01, 2011 at 03:42:41PM -0300, Luiz Angelo Daros de Luca wrote: > Thanks guys! > > I've seen that %zu is not portable for C90. I guess this is no problem for > opensync :-) > > As I'm not a C expert, I asked for some help :-) > > Regards, > > --- > Luiz Angelo Daros de Luca, Me. > lui...@gm... > > > 2011/9/1 Rick Scott <rw...@al...> > > > On Thu, 2011-09-01 at 01:26 -0400, Chris Frey wrote: > > > On Fri, Aug 26, 2011 at 11:21:37PM -0300, Luiz Angelo Daros de Luca > > wrote: > > > > Sorry, wrong git URI > > > > > > > > git://github.com/luizluca/google-calendar.git fixprintf > > > > > > > > I guess %lu is ok for printf, isn't it? > > > > > > That works for 64bit, but it balked on my 32 bit. :-) > > > > > > I like the %lu, but added a cast, so it works on both 32 and 64bit. > > > > > > > %zu works for both. > > > > > Thanks! > > > - Chris > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Special Offer -- Download ArcSight Logger for FREE! > > > Finally, a world-class log management solution at an even better > > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > > download Logger. Secure your free ArcSight Logger TODAY! > > > http://p.sf.net/sfu/arcsisghtdev2dev > > > _______________________________________________ > > > Opensync-devel mailing list > > > Ope...@li... > > > https://lists.sourceforge.net/lists/listinfo/opensync-devel > > > > > > > > ------------------------------------------------------------------------------ > > Special Offer -- Download ArcSight Logger for FREE! > > Finally, a world-class log management solution at an even better > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > download Logger. Secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsisghtdev2dev > > _______________________________________________ > > Opensync-devel mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensync-devel > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Opensync-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-devel |