From dbfc3ee2b91ed26eb00e85a32c715995f4fce41b Mon Sep 17 00:00:00 2001 From: Daniel Brahneborg Date: Mon, 4 Mar 2002 14:31:16 +0000 Subject: Use plp standard types. Fix copyright include. --- lib/sisreqrecord.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/sisreqrecord.cpp') 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 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. // -- cgit v1.2.3