mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
Clang 6 doesn't allow negative numbers to be implicitely converted to unsigned types. This patch explicits all casts. While I'm here, add an option to silent tons of warning messages PR: 226644 Reported by: rakuco@
11 lines
353 B
C
11 lines
353 B
C
--- gdb/tramp-frame.h.orig 2018-03-15 10:38:21.385046000 +0100
|
|
+++ gdb/tramp-frame.h 2018-03-15 10:38:49.942224000 +0100
|
|
@@ -41,7 +41,7 @@
|
|
|
|
/* Magic instruction that to mark the end of the signal trampoline
|
|
instruction sequence. */
|
|
-#define TRAMP_SENTINEL_INSN ((LONGEST) -1)
|
|
+#define TRAMP_SENTINEL_INSN ((ULONGEST) -1)
|
|
|
|
struct tramp_frame
|
|
{
|