aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bufferstore.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bufferstore.cc')
-rw-r--r--lib/bufferstore.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bufferstore.cc b/lib/bufferstore.cc
index f2686dc..35bea26 100644
--- a/lib/bufferstore.cc
+++ b/lib/bufferstore.cc
@@ -84,11 +84,11 @@ unsigned char bufferStore::getByte(long pos) const {
return buff[pos+start];
}
-unsigned int bufferStore::getWord(long pos) const {
+u_int16_t bufferStore::getWord(long pos) const {
return buff[pos+start] + (buff[pos+start+1] << 8);
}
-unsigned int bufferStore::getDWord(long pos) const {
+u_int32_t bufferStore::getDWord(long pos) const {
return buff[pos+start] +
(buff[pos+start+1] << 8) +
(buff[pos+start+2] << 16) +