[supertransball2] 11/13: Use 0 instead of nullptr so that it works with GCC-5 too.

Markus Koschany apo at moszumanska.debian.org
Thu Jul 7 22:47:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository supertransball2.

commit 55864b8c76d6e00ca27a62a6aa17eb1dee8de55c
Author: Markus Koschany <apo at debian.org>
Date:   Fri Jul 8 00:26:27 2016 +0200

    Use 0 instead of nullptr so that it works with GCC-5 too.
---
 debian/patches/gcc-6-convert-bool.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/gcc-6-convert-bool.patch b/debian/patches/gcc-6-convert-bool.patch
index 6a6a40f..8beea5b 100644
--- a/debian/patches/gcc-6-convert-bool.patch
+++ b/debian/patches/gcc-6-convert-bool.patch
@@ -22,7 +22,7 @@ index 4a27ad7..9149073 100644
  
      if (tmp==0 ||
 -		mask==0) return false;
-+		mask==0) return nullptr;
++		mask==0) return 0;
  
  	res=SDL_DisplayFormatAlpha(tmp);
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/supertransball2.git



More information about the Pkg-games-commits mailing list