# New Ticket Created by "Andrew Whitworth" # Please include the string: [perl #50882] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50882 >
Fixed two compile-time warnings in spf_render.c. 1) redefinition of snprintf macro. snprintf is already defined in misc.h to be Parrot_secret_snprintf. However, if _MSC_VER is defined, we have access to _snprintf, and should use that instead. It may be worth moving the whole definition from spf_render.c to misc.h, to get the best version all at once. 2) Added a cast from an int to a char in an assignment, to try and suppress a warning about "possible loss of data". --Andrew Whitworth
spf_render_fix.patch
Description: Binary data