mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Fixed compiler warning
This commit is contained in:
parent
cdc9e51696
commit
9fe10f10b8
@ -98,7 +98,7 @@ template<class T> bool FITParser::readValue(CTX &ctx, T &val)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FITParser::skipValue(CTX &ctx, size_t size)
|
bool FITParser::skipValue(CTX &ctx, quint8 size)
|
||||||
{
|
{
|
||||||
ctx.len -= size;
|
ctx.len -= size;
|
||||||
return ctx.file->seek(ctx.file->pos() + size);
|
return ctx.file->seek(ctx.file->pos() + size);
|
||||||
|
@ -20,7 +20,7 @@ private:
|
|||||||
|
|
||||||
bool readData(QFile *file, char *data, size_t size);
|
bool readData(QFile *file, char *data, size_t size);
|
||||||
template<class T> bool readValue(CTX &ctx, T &val);
|
template<class T> bool readValue(CTX &ctx, T &val);
|
||||||
bool skipValue(CTX &ctx, size_t size);
|
bool skipValue(CTX &ctx, quint8 size);
|
||||||
bool readField(CTX &ctx, Field *field, quint32 &val);
|
bool readField(CTX &ctx, Field *field, quint32 &val);
|
||||||
|
|
||||||
bool parseHeader(CTX &ctx);
|
bool parseHeader(CTX &ctx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user