You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/12/21 16:20:20 UTC
cvs commit: httpd-2.0/server scoreboard.c
wrowe 01/12/21 07:20:20
Modified: server scoreboard.c
Log:
Clean up a compiler emit for signedness
Revision Changes Path
1.41 +1 -1 httpd-2.0/server/scoreboard.c
Index: scoreboard.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- scoreboard.c 2001/12/18 13:48:52 1.40
+++ scoreboard.c 2001/12/21 15:20:20 1.41
@@ -149,7 +149,7 @@
ap_scoreboard_image->servers[i] = (worker_score *)more_storage;
more_storage += thread_limit * sizeof(worker_score);
}
- ap_assert(more_storage - (char *)ap_scoreboard_image == scoreboard_size);
+ ap_assert(more_storage == (char *)ap_scoreboard_image + scoreboard_size);
}
/* ToDo: This function should be made to handle setting up