Files
ns3/fix_32bit_build.patch
Stefan Brüns 04bca6b976 Accepting request 1000981 from home:StefanBruens:branches:science
- Update to version 3.36.1, for details see included RELEASE_NOTES.
- Added patches:
  * 0001-Use-libexecdir-for-path-to-helper-binaries.patch
  * 0001-Fix-CMAKE_LINUX_DISTRO-quoting.patch
- Obsoleted patches:
  * 0001-Fix-operator-precedence-in-planetlab-tab-creator.patch
  * ns3-3.29-adjust-test-tolerance-for-64bit-double.patch
  * ns3-3.29-use-UINT32_MAX-for-uint32_t.patch
  * ns3-3.20-no_python_build_dependencies.patch
  * ns3-3.17-libexec.patch
  * ns3-3.17-overlinking.patch
  * ns3-3.17-release_debug.patch
  * ns3-3.17-pkg_config.patch

OBS-URL: https://build.opensuse.org/request/show/1000981
OBS-URL: https://build.opensuse.org/package/show/science/ns3?expand=0&rev=11
2022-09-06 16:15:43 +00:00

26 lines
701 B
Diff

From c9cf798e5f5cc9eea94cafa3bb720108662da18b Mon Sep 17 00:00:00 2001
From: Gabriel Ferreira <gabrielcarvfer@gmail.com>
Date: Wed, 11 May 2022 22:01:16 -0300
Subject: [PATCH] core: Fix int64x64-cairo.h bool operator
---
src/core/model/int64x64-cairo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/model/int64x64-cairo.h b/src/core/model/int64x64-cairo.h
index 3357b76dcc..07d8d8f84e 100644
--- a/src/core/model/int64x64-cairo.h
+++ b/src/core/model/int64x64-cairo.h
@@ -201,7 +201,7 @@ public:
/** Explicit bool conversion. */
inline explicit operator bool () const
{
- return (_v != 0);
+ return (_v.hi != 0 || _v.lo != 0);
}
/**
--
GitLab