diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-01-15 11:48:10 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-01-15 11:48:10 +0000 |
commit | b7a640378c26c9744f6d6bcfe40b6a0b5c7c4dc4 (patch) | |
tree | 9d573b008335c4dd425edc362319ea89ed340586 | |
parent | - Update to 3.4.0 (diff) |
games/openbor: oops, size_t > int on 64bit platforms
Notes
Notes:
svn path=/head/; revision=431550
-rw-r--r-- | games/openbor/Makefile | 2 | ||||
-rw-r--r-- | games/openbor/files/patch-openbor.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile index 2a9ae4cc4d54..6a3c61f0a209 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -2,7 +2,7 @@ PORTNAME= openbor PORTVERSION= 3.0.r4426 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= LOCAL/jbeich \ https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn diff --git a/games/openbor/files/patch-openbor.c b/games/openbor/files/patch-openbor.c index 50717d79c266..1cab90006f74 100644 --- a/games/openbor/files/patch-openbor.c +++ b/games/openbor/files/patch-openbor.c @@ -28,7 +28,7 @@ Avoid accidental rounding from abs() {
- size_t len = 0, i = 0;
+ size_t len = 0;
-+ int i = 0;
++ long i = 0;
ptrdiff_t pos = 0;
char *newbuf = NULL;
|