File: fix-clock-type.patch

package info (click to toggle)
xphoon 20000613%2B0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: ansic: 3,947; makefile: 12; sh: 1
file content (19 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix FTBFS in armhf
 xphoon.c:163:18: error: passing argument 1 of ‘time’ from incompatible
 pointer type [-Wincompatible-pointer-types]
Author: Ricardo Mones <mones@debian.org>
Bug-Debian: https://bugs.debian.org/1091287
Last-Update: 2024-12-24
Forwarded: not-needed

--- a/xphoon.c
+++ b/xphoon.c
@@ -67,7 +67,7 @@
     int blackflag, demoflag, southflag;
     int printpid;
     char* display_name;
-    long clock;
+    time_t clock;
     int pid, tty;
     int size;
     char* mooncopy;