Mailinglist Archive: zypp-commit (606 mails)

< Previous Next >
[zypp-commit] r9448 - in /trunk/sat-solver/src: repo.c repo.h
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Tue, 08 Apr 2008 10:52:10 -0000
  • Message-id: <20080408105210.83DD326F67@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Tue Apr 8 12:52:10 2008
New Revision: 9448

URL: http://svn.opensuse.org/viewcvs/zypp?rev=9448&view=rev
Log:
make numeric attribute type consistent with repodata.h, its an
unsigned int.

Modified:
trunk/sat-solver/src/repo.c
trunk/sat-solver/src/repo.h

Modified: trunk/sat-solver/src/repo.c
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo.c?rev=9448&r1=9447&r2=9448&view=diff
==============================================================================
--- trunk/sat-solver/src/repo.c (original)
+++ trunk/sat-solver/src/repo.c Tue Apr 8 12:52:10 2008
@@ -787,7 +787,8 @@
return 0;
}

-int
+
+unsigned int
repo_lookup_num(Solvable *s, Id key)
{
Repo *repo = s->repo;

Modified: trunk/sat-solver/src/repo.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo.h?rev=9448&r1=9447&r2=9448&view=diff
==============================================================================
--- trunk/sat-solver/src/repo.h (original)
+++ trunk/sat-solver/src/repo.h Tue Apr 8 12:52:10 2008
@@ -169,7 +169,7 @@
/* returns the string value of the attribute, or NULL if not found */
const char * repo_lookup_str(Solvable *s, Id key);
/* returns the integer value of the attribute, or 0 if not found */
-int repo_lookup_num(Solvable *s, Id key);
+unsigned int repo_lookup_num(Solvable *s, Id key);
/* generic attribute lookup */
int repo_lookup(Solvable *s, Id key, int (*callback)(void *cbdata, Solvable
*s, Repodata *data, Repokey *key, KeyValue *kv), void *cbdata);


--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages