On Fri, Nov 09, kkaempf@svn.opensuse.org wrote:
Author: kkaempf Date: Fri Nov 9 11:27:53 2007 New Revision: 7763
URL: http://svn.opensuse.org/viewcvs/zypp?rev=7763&view=rev Log: fix the build
Modified: trunk/sat-solver/tools/attr_store.c
Modified: trunk/sat-solver/tools/attr_store.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/attr_store.c?rev=7763&r1=7762&r2=7763&view=diff ============================================================================== --- trunk/sat-solver/tools/attr_store.c (original) +++ trunk/sat-solver/tools/attr_store.c Fri Nov 9 11:27:53 2007 @@ -697,10 +697,10 @@ s->stringhashmask = 0;
fprintf (stderr, "%d\n", old_mem); - fprintf (stderr, "%d\n", s->entries * sizeof(s->ent2attr[0])); + fprintf (stderr, "%ld\n", s->entries * sizeof(s->ent2attr[0])); fprintf (stderr, "%d\n", s->attr_next_free); - fprintf (stderr, "%d\n", s->abbr_next_free * sizeof(s->abbr[0])); - fprintf (stderr, "%d\n", s->flat_abbr_next_free * sizeof(s->flat_abbr[0])); + fprintf (stderr, "%ld\n", s->abbr_next_free * sizeof(s->abbr[0])); + fprintf (stderr, "%ld\n", s->flat_abbr_next_free * sizeof(s->flat_abbr[0])); fprintf (stderr, "pages %d\n", s->num_pages); s->packed = 1; }
/Local/ma/zypp/sat-solver/tools/attr_store.c:700: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int' /Local/ma/zypp/sat-solver/tools/attr_store.c:702: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int' /Local/ma/zypp/sat-solver/tools/attr_store.c:703: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int' -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org