summaryrefslogtreecommitdiff
path: root/src/os/object
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-12 15:49:53 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-12 15:49:53 +0100
commitff5cca72f077dea1a4ae927dff82acbe939b1261 (patch)
tree18a83d61f29d815e4e2776b1a6d805bfc6ef3c03 /src/os/object
parent99b66c9c933af61e05ae59122491d5aadea52734 (diff)
XDR: Use stdint types for now
Diffstat (limited to 'src/os/object')
-rw-r--r--src/os/object/xdrstream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/object/xdrstream.cc b/src/os/object/xdrstream.cc
index 92de986..bc2ad89 100644
--- a/src/os/object/xdrstream.cc
+++ b/src/os/object/xdrstream.cc
@@ -82,7 +82,7 @@ XDRStream & XDRStream::operator<<(char const *data){
return *this;
}
-template<int TSize>
+template<uint32_t TSize>
XDRStream & XDRStream::operator<<(char const (&data)[TSize]){
if (!is_fixed_length) {
*this << TSize;