Date: Sun, 15 Jan 2017 11:48:10 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431550 - in head/games/openbor: . files Message-ID: <201701151148.v0FBmAkZ028049@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Jan 15 11:48:10 2017 New Revision: 431550 URL: https://svnweb.freebsd.org/changeset/ports/431550 Log: games/openbor: oops, size_t > int on 64bit platforms Modified: head/games/openbor/Makefile (contents, props changed) head/games/openbor/files/patch-openbor.c (contents, props changed) Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Sun Jan 15 11:36:31 2017 (r431549) +++ head/games/openbor/Makefile Sun Jan 15 11:48:10 2017 (r431550) @@ -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 Modified: head/games/openbor/files/patch-openbor.c ============================================================================== --- head/games/openbor/files/patch-openbor.c Sun Jan 15 11:36:31 2017 (r431549) +++ head/games/openbor/files/patch-openbor.c Sun Jan 15 11:48:10 2017 (r431550) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701151148.v0FBmAkZ028049>