output/httpd/Page: use uint8_t instead of unsigned char

This commit is contained in:
Max Kellermann 2017-02-19 19:49:53 +01:00
parent 7e46277016
commit 4162ce0bc5

View File

@ -28,6 +28,7 @@
#include "util/RefCount.hxx" #include "util/RefCount.hxx"
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
/** /**
* A dynamically allocated buffer which keeps track of its reference * A dynamically allocated buffer which keeps track of its reference
@ -52,7 +53,7 @@ public:
/** /**
* Dynamic array containing the buffer data. * Dynamic array containing the buffer data.
*/ */
unsigned char data[sizeof(long)]; uint8_t data[sizeof(long)];
protected: protected:
Page(size_t _size):size(_size) {} Page(size_t _size):size(_size) {}