diff options
author | Daniel Brahneborg <basic@chello.se> | 2002-03-04 14:31:16 +0000 |
---|---|---|
committer | Daniel Brahneborg <basic@chello.se> | 2002-03-04 14:31:16 +0000 |
commit | dbfc3ee2b91ed26eb00e85a32c715995f4fce41b (patch) | |
tree | 82605dba9b7a1d14c3e952af32bef2852d60703b /lib/sisreqrecord.cpp | |
parent | b68ab4b0002aa0c59fdbbfee3076e35aeac44d68 (diff) | |
download | plptools-dbfc3ee2b91ed26eb00e85a32c715995f4fce41b.tar.gz plptools-dbfc3ee2b91ed26eb00e85a32c715995f4fce41b.tar.bz2 plptools-dbfc3ee2b91ed26eb00e85a32c715995f4fce41b.zip |
Use plp standard types.
Fix copyright include.
Diffstat (limited to 'lib/sisreqrecord.cpp')
-rw-r--r-- | lib/sisreqrecord.cpp | 8 |
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. // |