summaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@debian.org>2014-10-26 13:53:29 -0700
committerRuss Allbery <rra@debian.org>2014-10-26 13:53:29 -0700
commit4fc50f48fa6f878421fed91d30f54520edfb384f (patch)
treee952be4793061ac23c2eb98395e806829d2bfb36 /render.c
parent89685066474290e1fae4a78c268c8f68f1f4fba3 (diff)
Imported Upstream version 1.04.000
Diffstat (limited to 'render.c')
-rw-r--r--render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render.c b/render.c
index 47e47dd..ec7ff6c 100644
--- a/render.c
+++ b/render.c
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: render.c,v 1.99 2014/07/20 22:03:41 plm Exp $
+ * $Id: render.c,v 1.100 2014/10/19 21:24:53 plm Exp $
*/
#include "config.h"
@@ -147,7 +147,7 @@ static renderdata rdDefault = {
{3.0, 30.0}, /* arDiceExponent */
{-0.55667f, 0.32139f, 0.76604f}, /* arLight */
0.5, /* rRound */
- -1, /* nSize */
+ (unsigned int)-1, /* nSize */
TRUE, /* fHinges */
TRUE, /* fLabels */
FALSE, /* fClockwise */
@@ -2352,7 +2352,7 @@ DrawChequers(renderdata * prd, unsigned char *puch, int nStride,
extern void
CalculateArea(renderdata * prd, unsigned char *puch, int nStride,
renderimages * pri, TanBoard anBoard,
- int *anOff, int anDice[2],
+ int *anOff, const unsigned int anDice[2],
int anDicePosition[2][2],
int fDiceColour, int anCubePosition[2],
int nLogCube, int nCubeOrientation,