Web lists-archives.com

Use of lrint() in 'gdk-pixbuf/pixops/pixops.c'




Is this the right mailing list for gdk-pixbuf issues?

Commit #61e3edeb79 (6th Jan 2017) introduced these 2 calls in 'gdk-pixbuf/pixops/pixops.c' (at lines 1847 and 1848):-

    tmp_width = lrint (src_width * prescale_x);
    tmp_height = lrint (src_height * prescale_y);

AFAIK Microsoft's MSVC only introduced lrint() in VS2015 - so for those of us building with an earlier version the above code won't link any more. I took a quick look through glib, gtk+ (v2) and gdk-pixbuf but I can't see lrint getting used anywhere else. Any chance of a fix? Thanks,

John
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-devel-list