Skip to content

Commit

Permalink
Fix ambiguity warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Jun 27, 2006
1 parent 85d2833 commit 521750c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions vpi/lxt_write.c
Expand Up @@ -23,9 +23,13 @@
#include "lxt_write.h"

#if defined(_MSC_VER) || defined(__MINGW32__)
#ifndef fseeko
#define fseeko fseek
#endif
#ifndef ftello
#define ftello ftell
#endif
#endif

/************************ splay ************************/

Expand Down Expand Up @@ -1644,6 +1648,7 @@ if(!(s->flags&(LT_SYM_F_DOUBLE|LT_SYM_F_STRING)))
unsigned int last_change_delta;

if((lt->clock_compress)&&(s->rows==0))
{
if((len>1)&&(len<=32))
{
int ivalue = value;
Expand Down Expand Up @@ -1784,7 +1789,7 @@ if(!(s->flags&(LT_SYM_F_DOUBLE|LT_SYM_F_STRING)))

s->clk_prevval = ivalue + '0';
}

}
/* normal trace handling */

last_change_delta = lt->position - s->last_change - 2;
Expand Down Expand Up @@ -2250,6 +2255,7 @@ if(!(s->flags&(LT_SYM_F_DOUBLE|LT_SYM_F_STRING)))
int len = ((s->flags)&LT_SYM_F_INTEGER) ? 32 : s->len;

if((lt->clock_compress)&&(s->rows==0))
{
if((len>1)&&(len<=32))
{
int legal = 0;
Expand Down Expand Up @@ -2413,7 +2419,7 @@ if(!(s->flags&(LT_SYM_F_DOUBLE|LT_SYM_F_STRING)))

s->clk_prevval = value[0];
}

}
/* normal trace handling */

last_change_delta = lt->position - s->last_change - 2;
Expand Down

0 comments on commit 521750c

Please sign in to comment.