Commit 4162ce0b authored by Max Kellermann's avatar Max Kellermann

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

parent 7e462770
...@@ -28,6 +28,7 @@ ...@@ -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: ...@@ -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) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment