Update LXT2 and FST files to latest from GTKWave

This commit is contained in:
Cary R 2014-07-17 16:15:08 -07:00
parent 6bc3f98e0a
commit 9c5113194d
2 changed files with 3 additions and 3 deletions

View File

@ -1072,9 +1072,9 @@ if(!sysctl(mib, 2, &v, &length, NULL, 0))
{ {
v /= 8; v /= 8;
if(v > FST_BREAK_SIZE) if(v > (int64_t)FST_BREAK_SIZE)
{ {
if(v > FST_BREAK_SIZE_MAX) if(v > (int64_t)FST_BREAK_SIZE_MAX)
{ {
v = FST_BREAK_SIZE_MAX; v = FST_BREAK_SIZE_MAX;
} }

View File

@ -1057,7 +1057,7 @@ if(!clone)
for(cnt = 0; cnt < lt->break_header_size; cnt += sizeof(buf)) for(cnt = 0; cnt < lt->break_header_size; cnt += sizeof(buf))
{ {
seg = lt->break_header_size - cnt; seg = lt->break_header_size - cnt;
if(seg > sizeof(buf)) if(seg > (off_t)sizeof(buf))
{ {
seg = sizeof(buf); seg = sizeof(buf);
} }