summary refs log tree commit diff
path: root/Src/jobs.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:16:55 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:16:55 +0000
commitf160996d5171d0140c3d58ff03ddfbbf25543bf3 (patch)
treee19a32be8a51febddca31ae96935701c47ded314 /Src/jobs.c
parent059162c44294cc5eaf9d1927a0ffc4370a47d255 (diff)
downloadzsh-f160996d5171d0140c3d58ff03ddfbbf25543bf3.tar.gz
zsh-f160996d5171d0140c3d58ff03ddfbbf25543bf3.tar.xz
zsh-f160996d5171d0140c3d58ff03ddfbbf25543bf3.zip
Changed a few job-table variables into ints.
Diffstat (limited to 'Src/jobs.c')
-rw-r--r--Src/jobs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index ba3846654..4cef396da 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -64,12 +64,12 @@ mod_export struct job *jobtab;
 /* Size of the job table. */
 
 /**/
-mod_export size_t jobtabsize;
+mod_export int jobtabsize;
 
 /* The highest numbered job in the jobtable */
 
 /**/
-mod_export size_t maxjob;
+mod_export int maxjob;
 
 /* If we have entered a subshell, the original shell's job table. */
 static struct job *oldjobtab;
@@ -1365,7 +1365,7 @@ init_jobs(char **argv, char **envp)
 int
 expandjobtab(void)
 {
-    size_t newsize = jobtabsize + MAXJOBS_ALLOC;
+    int newsize = jobtabsize + MAXJOBS_ALLOC;
     struct job *newjobtab;
 
     if (newsize > MAX_MAXJOBS)
@@ -1399,7 +1399,7 @@ expandjobtab(void)
 void
 maybeshrinkjobtab(void)
 {
-    size_t jobbound;
+    int jobbound;
 
     queue_signals();
     jobbound = maxjob + MAXJOBS_ALLOC - (maxjob % MAXJOBS_ALLOC);