summaryrefslogtreecommitdiffhomepage
path: root/NetEx/HttpServer.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-31 23:06:47 +0200
committerAki <please@ignore.pl>2022-03-31 23:06:47 +0200
commit28873b2e25752a85b795317cce1904dd1872e401 (patch)
tree317671f7bb19cadf0ffba1f77377c21955d962a9 /NetEx/HttpServer.h
parent7f4b865a5bf94dea63ff5510a801df0ad315bfdb (diff)
downloadstarshatter-28873b2e25752a85b795317cce1904dd1872e401.zip
starshatter-28873b2e25752a85b795317cce1904dd1872e401.tar.gz
starshatter-28873b2e25752a85b795317cce1904dd1872e401.tar.bz2
Fixed left-overs that failed linux gcc compilation
Diffstat (limited to 'NetEx/HttpServer.h')
-rw-r--r--NetEx/HttpServer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/NetEx/HttpServer.h b/NetEx/HttpServer.h
index 2bba488..88c1c3c 100644
--- a/NetEx/HttpServer.h
+++ b/NetEx/HttpServer.h
@@ -14,7 +14,7 @@
#ifndef HttpServer_h
#define HttpServer_h
-#include <stdint.h>
+#include <cstdint>
#include "HttpRequest.h"
#include "HttpResponse.h"
@@ -28,7 +28,7 @@ class HttpServer : public NetServer
public:
static const char* TYPENAME() { return "HttpServer"; }
- HttpServer(uint16_t port, int poolsize=1);
+ HttpServer(std::uint16_t port, int poolsize=1);
virtual ~HttpServer();
int operator == (const HttpServer& l) const { return addr == l.addr; }