Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7595 - /trunk/sat-solver/src/solver.c
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Mon, 22 Oct 2007 15:25:05 -0000
  • Message-id: <20071022152505.339CA266EC@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Mon Oct 22 17:25:04 2007
New Revision: 7595

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7595&view=rev
Log:
make it compile on 64bit

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

Modified: trunk/sat-solver/src/solver.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/solver.c?rev=7595&r1=7594&r2=7595&view=diff
==============================================================================
--- trunk/sat-solver/src/solver.c (original)
+++ trunk/sat-solver/src/solver.c Mon Oct 22 17:25:04 2007
@@ -850,7 +850,7 @@
                {
                  /* nothing provides req! */
   #if 1
-                 if (pool->verbose) printf("package %s-%s.%s [%d] is not installable (%s)\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch), s - pool->solvables, dep2str(pool, req));
+                 if (pool->verbose) printf("package %s-%s.%s [%ld] is not installable (%s)\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch), (long int)(s - pool->solvables), dep2str(pool, req));
   #endif
                  addrule(solv, -n, 0); /* mark requestor as uninstallable */
                  if (solv->rc_output)
@@ -2963,7 +2963,7 @@
                    }
                  else
                    {
-                     printf("- allow deinstallation of %s-%s.%s [%d]\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch), s - pool->solvables);
+                     printf("- allow deinstallation of %s-%s.%s [%ld]\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch), (long int)(s - pool->solvables));
                    }
                }
              else

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

< Previous Next >
This Thread
  • No further messages