File: ftbfs-871230

package info (click to toggle)
frogatto 1.3.1%2Bdfsg-6
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 3,984 kB
  • sloc: cpp: 74,685; objc: 526; ansic: 375; sh: 79; makefile: 77
file content (31 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Fix FTBFS #871230
 frogatto (1.3.1+dfsg-4) unstable; urgency=medium
 .
   [Dmitry E. Oboukhov]
   * Fix FTBFS (ISO C++ forbids comparison between pointer and integer),
     closes: 871230.
Author: Dmitry E. Oboukhov <unera@debian.org>
Bug-Debian: https://bugs.debian.org/871230

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: other
Bug-Debian: https://bugs.debian.org/871230
Forwarded: no
Reviewed-By: Dmitry E. Oboukhov <unera@debian.org>
Last-Update: Wed Aug 16 11:07:16 MSK 2017

--- frogatto-1.3.1+dfsg.orig/src/surface_cache.cpp
+++ frogatto-1.3.1+dfsg/src/surface_cache.cpp
@@ -116,7 +116,7 @@ surface get_no_cache(const std::string&
 	}
 #endif // ANDROID
 	//std::cerr << "loading image '" << fname << "'\n";
-	if(surf.get() == false || surf->w == 0) {
+	if((!surf.get()) || !surf->w) {
 		if(key != "") {
 			std::cerr << "failed to load image '" << key << "'\n";
 		}