mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Fix build on 64bit platforms
This commit is contained in:
parent
b30403e798
commit
21c0ef670c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197026
1 changed files with 19 additions and 0 deletions
19
graphics/gtkfig/files/patch-src::main.cc
Normal file
19
graphics/gtkfig/files/patch-src::main.cc
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- src/main.cc.orig 2007-08-03 16:32:02.000000000 +0200
|
||||
+++ src/main.cc 2007-08-03 16:32:36.000000000 +0200
|
||||
@@ -4,6 +4,7 @@
|
||||
* *
|
||||
\***********************************/
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
@@ -44,7 +45,7 @@
|
||||
void on_fsb_clicked (GtkButton *button, gpointer user_data)
|
||||
{
|
||||
button = button;
|
||||
- if ((int)user_data == 0) System->FileSelectionOK();
|
||||
+ if ((intptr_t)user_data == 0) System->FileSelectionOK();
|
||||
else System->FileSelectionCancel();
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue