Commit fc5c311d authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Clean up a couple of type warnings.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91241 13f79535-47bb-0310-9956-ffa450edef68
parent e0e943b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ static void unique_id_child_init(apr_pool_t *p, server_rec *s)
     * of them.  It would have been really nice to test this during
     * global_init ... but oh well.
     */
    if (cur_unique_id.pid != pid) {
    if ((pid_t)cur_unique_id.pid != pid) {
        ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_CRIT, 0, s,
                    "oh no! pids are greater than 32-bits!  I'm broken!");
    }
@@ -286,7 +286,7 @@ static void unique_id_child_init(apr_pool_t *p, server_rec *s)
    /* Some systems have very low variance on the low end of their system
     * counter, defend against that.
     */
    cur_unique_id.counter = tv % APR_USEC_PER_SEC / 10;
    cur_unique_id.counter = (unsigned short)(tv % APR_USEC_PER_SEC / 10);

    /*
     * We must always use network ordering for these bytes, so that