File: fix-int-to-pointer-cast.patch

package info (click to toggle)
terminal.app 0.9.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: objc: 6,715; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix int-to-pointer-cast GCC warning
Author: Yavor Doganov <yavor@gnu.org>
Bug-Debian: https://bugs.debian.org/749796
Forwarded: https://savannah.nongnu.org/bugs/?52616
Last-Update: 2017-12-07
---

--- terminal.app.orig/TerminalView.m
+++ terminal.app/TerminalView.m
@@ -2009,7 +2009,7 @@
 	}
 
 	rl=[NSRunLoop currentRunLoop];
-	[rl addEvent: (void *)master_fd
+	[rl addEvent: (void *)(intptr_t)master_fd
 		type: ET_RDESC
 		watcher: self
 		forMode: NSDefaultRunLoopMode];