[ 
https://issues.apache.org/jira/browse/PROTON-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179920#comment-14179920
 ] 

ASF subversion and git services commented on PROTON-720:
--------------------------------------------------------

Commit 1633619 from c...@apache.org in branch 'proton/trunk'
[ https://svn.apache.org/r1633619 ]

PROTON-720: [Windows IO] fix format specifier to print string

> [Windows IO] Prints warning string as %d
> ----------------------------------------
>
>                 Key: PROTON-720
>                 URL: https://issues.apache.org/jira/browse/PROTON-720
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>         Environment: Windows
>            Reporter: Chuck Rolke
>
> Source code:
> {noformat}
>     fprintf(stderr, "Can't load WinSock: %d\n", pn_error_text(io->error));
> {noformat}
> prints warning
> {noformat}
> 2>..\..\proton-c\src\windows\io.c(86): warning C4313: 'fprintf'  : 
>   '%d' in format string conflicts with argument 1 of type 'const char *'
> {noformat}
> using VS2013/x64. VS2008/2010 do not warn.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to