aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sisreqrecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisreqrecord.cpp')
-rw-r--r--lib/sisreqrecord.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisreqrecord.cpp b/lib/sisreqrecord.cpp
index c13308e..f734e51 100644
--- a/lib/sisreqrecord.cpp
+++ b/lib/sisreqrecord.cpp
@@ -26,21 +26,21 @@
#include <stdio.h>
SisRC
-SISReqRecord::fillFrom(uchar* buf, int* base, off_t len, SISFile* sisFile)
+SISReqRecord::fillFrom(uint8_t* buf, int* base, off_t len, SISFile* sisFile)
{
int n = sisFile->m_header.m_nreqs;
if (*base + 12 + n * 4 * 2)
return SIS_TRUNCATED;
- uchar* p = buf + *base;
+ uint8_t* p = buf + *base;
int size = 0;
m_uid = read32(p);
m_major = read16(p + 4);
m_minor = read16(p + 6);
m_variant = read32(p + 8);
- m_nameLengths = new uint32[n];
- m_namePtrs = new uint32[n];
+ m_nameLengths = new uint32_t[n];
+ m_namePtrs = new uint32_t[n];
// First read lengths.
//