r15228 - in software/ui: debian src
Petter Reinholdtsen
pere at moszumanska.debian.org
Mon Sep 29 09:09:18 UTC 2014
Author: pere
Date: 2014-09-29 09:09:18 +0000 (Mon, 29 Sep 2014)
New Revision: 15228
Modified:
software/ui/debian/changelog
software/ui/src/pkgbrowser.cpp
Log:
Adjust source to build with clang (Closes: #753645). Patch from
Alexander.
Modified: software/ui/debian/changelog
===================================================================
--- software/ui/debian/changelog 2014-09-29 08:49:12 UTC (rev 15227)
+++ software/ui/debian/changelog 2014-09-29 09:09:18 UTC (rev 15228)
@@ -11,6 +11,8 @@
from Enrico Zini.
* Remove empty MimeType row from desktop files to avoid confusing
lintian into believing that the Exec row lack a file argument.
+ * Adjust source to build with clang (Closes: #753645). Patch from
+ Alexander.
[ Miriam Ruiz ]
* Added dh-autoreconf to Build-Depends and using it in debian/rules
Modified: software/ui/src/pkgbrowser.cpp
===================================================================
--- software/ui/src/pkgbrowser.cpp 2014-09-29 08:49:12 UTC (rev 15227)
+++ software/ui/src/pkgbrowser.cpp 2014-09-29 09:09:18 UTC (rev 15228)
@@ -351,7 +351,7 @@
char *after;
/* int percent = */ long int __attribute__((unused)) unused = strtol(str+1, &after, 10);
int steps = 0;
- unsigned int bar = 0;
+ long int bar = 0;
if (after && *after=='/')
steps = strtol(after+1, &after, 10);
if (steps < 0 ) steps = 100;
@@ -451,7 +451,7 @@
char *after;
int percent = strtol(str+1, &after, 10);
int steps = 0;
- unsigned int bar = 0;
+ long int bar = 0;
if (after && *after=='/')
steps = strtol(after+1, &after, 10);
if (steps < 0 ) steps = 100;
More information about the Pkg-games-commits
mailing list