EPS: fixed a cast and removed a useless comment.
This commit is contained in:
parent
e2c570a1ce
commit
b960062f90
@ -506,7 +506,7 @@ namespace Exiv2 {
|
||||
uint16_t sizeOfSize = 4 | 0x8000;
|
||||
us2Data(pWrite, sizeOfSize, bigEndian);
|
||||
pWrite += 2;
|
||||
ul2Data(pWrite, dataSize, bigEndian);
|
||||
ul2Data(pWrite, (uint32_t) dataSize, bigEndian);
|
||||
pWrite += 4;
|
||||
}
|
||||
else {
|
||||
|
||||
@ -351,7 +351,7 @@ namespace Exiv2 {
|
||||
long ul2Data(byte* buf, size_t s, ByteOrder byteOrder)
|
||||
{
|
||||
uint32_t l = (uint32_t) s;
|
||||
return ul2Data(buf,l,byteOrder); // TODO: should this be sizeof(size_t) ?
|
||||
return ul2Data(buf,l,byteOrder);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user