mirror of https://github.com/msantos/xmppipe
xmpp_conn_set_flags() argument is a long
Correct the type for the flag argument from int to long. Note the compiler will still complain because, although xmpp_conn_set_flags() is declared to take a signed long, the constants are declared as unsigned longs: src/xmppipe.c: In function ‘main’: src/xmppipe.c:205:13: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] flags |= XMPP_CONN_FLAG_TRUST_TLS; ^ src/xmppipe.c:205:16: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] flags |= XMPP_CONN_FLAG_TRUST_TLS;master
parent
8776afe0f5
commit
5e488e059a
Loading…
Reference in New Issue