Fix some compilation warnings.

* buckets/fcgi_buckets.c (serf_fcgi_frame_refill):
   Use APR_SIZE_T_FMT for a size-type printf argument.

* buckets/hpack_buckets.c (hpack_process):
   Remove a range check that is (a) always false and (b) was already
   taken care of in read_hpack_int.


git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1774546 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/buckets/fcgi_buckets.c b/buckets/fcgi_buckets.c
index eaa2c76..cd325f8 100644
--- a/buckets/fcgi_buckets.c
+++ b/buckets/fcgi_buckets.c
@@ -742,7 +742,8 @@
     }
 
     serf__log(LOGLVL_DEBUG, LOGCOMP_CONN, __FILE__, ctx->config,
-              "Generating 0x%x frame on stream 0x%x of size 0x%x\n",
+              "Generating 0x%x frame on stream 0x%x of size %"
+              APR_SIZE_T_FMT "\n",
               ctx->frame_type, ctx->stream_id, payload);
 
     /* Create FCGI record */
diff --git a/buckets/hpack_buckets.c b/buckets/hpack_buckets.c
index 693b2da..9ee8d0e 100644
--- a/buckets/hpack_buckets.c
+++ b/buckets/hpack_buckets.c
@@ -1868,9 +1868,7 @@
                     if (status)
                         continue;
 
-                      /* Send remote tablesize update to our table */
-                    if (v >= APR_SIZE_MAX)
-                        return SERF_ERROR_HTTP2_COMPRESSION_ERROR;
+                    /* Send remote tablesize update to our table */
                     status = hpack_table_size_update(ctx->tbl, (apr_size_t)v);
                     if (status)
                         return status;