BlameSteveJobs compiler warnings

Thomas Spahni <[email protected]> Fri, 5 Jun 2009 14:22:29 +0200 (CEST)
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Hi Bill

I ran into the following compiler warnings when compiling 
20090423-BlameSteveJobs and thought I better report them.

This is on a 32-bit SuSE-11.1 OS

gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]

cc  -DVERSION='"20090423-BlameSteveJobs"' -g -O3 -Wall -c crm_osbf_bayes.c
crm_osbf_bayes.c: In function 'crm_expr_osbf_bayes_learn':
crm_osbf_bayes.c:410: warning: format '%ld' expects type 'long int', but
argument 5 has type 'int'
crm_osbf_bayes.c:410: warning: format '%ld' expects type 'long int', but
argument 6 has type 'int'
crm_osbf_bayes.c: In function 'crm_expr_osbf_bayes_classify': 
crm_osbf_bayes.c:1008: warning: format '%ld' expects type 'long int', but
argument 5 has type 'int'
crm_osbf_bayes.c:1008: warning: format '%ld' expects type 'long int', but
argument 6 has type 'int'


Best regards,
Thomas Spahni


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get