summaryrefslogtreecommitdiff
path: root/do_lines.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-03-05 19:11:25 -0800
committerKeith Packard <keithp@keithp.com>2014-03-05 19:18:44 -0800
commitf640487e27a3904831ff85033a2869e981e9d942 (patch)
tree48a3235a42e957f8062f23925e719b70b94a6b12 /do_lines.c
parent9ba0ce7d849bbd94644664b60b50bd1e2d5813b7 (diff)
Switch to 64-bit ints
Diffstat (limited to 'do_lines.c')
-rw-r--r--do_lines.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/do_lines.c b/do_lines.c
index 88a1ebd..d2ad1d6 100644
--- a/do_lines.c
+++ b/do_lines.c
@@ -162,14 +162,14 @@ GenerateLines(XParms xp, Parms p, Bool ddashed)
}
int
-InitLines(XParms xp, Parms p, int reps)
+InitLines(XParms xp, Parms p, int64_t reps)
{
GenerateLines(xp, p, False);
return reps;
}
static int
-GenerateWideLines(XParms xp, Parms p, int reps, Bool ddashed)
+GenerateWideLines(XParms xp, Parms p, int64_t reps, Bool ddashed)
{
int size;
@@ -193,13 +193,13 @@ GenerateWideLines(XParms xp, Parms p, int reps, Bool ddashed)
}
int
-InitWideLines(XParms xp, Parms p, int reps)
+InitWideLines(XParms xp, Parms p, int64_t reps)
{
return GenerateWideLines(xp, p, reps, False);
}
int
-InitDashedLines(XParms xp, Parms p, int reps)
+InitDashedLines(XParms xp, Parms p, int64_t reps)
{
char dashes[2];
@@ -215,7 +215,7 @@ InitDashedLines(XParms xp, Parms p, int reps)
}
int
-InitWideDashedLines(XParms xp, Parms p, int reps)
+InitWideDashedLines(XParms xp, Parms p, int64_t reps)
{
int size;
XGCValues gcv;
@@ -236,7 +236,7 @@ InitWideDashedLines(XParms xp, Parms p, int reps)
}
int
-InitDoubleDashedLines(XParms xp, Parms p, int reps)
+InitDoubleDashedLines(XParms xp, Parms p, int64_t reps)
{
char dashes[2];
@@ -252,7 +252,7 @@ InitDoubleDashedLines(XParms xp, Parms p, int reps)
}
int
-InitWideDoubleDashedLines(XParms xp, Parms p, int reps)
+InitWideDoubleDashedLines(XParms xp, Parms p, int64_t reps)
{
int size;
XGCValues gcv;
@@ -273,7 +273,7 @@ InitWideDoubleDashedLines(XParms xp, Parms p, int reps)
}
void
-DoLines(XParms xp, Parms p, int reps)
+DoLines(XParms xp, Parms p, int64_t reps)
{
int i;