Synchronize lxt_write.c with GTKWave (add back const fixes).
The const fixes for lxt_write.c were never pushed to GTKWave so they were lost in a later sync with GTKWave. These changes have now been pushed to GTKWave.
This commit is contained in:
parent
c02d6953ef
commit
65f187964c
|
|
@ -996,8 +996,8 @@ if(rgh) lt_recurse_dictionary_free(lt, rgh);
|
||||||
|
|
||||||
static int lt_dictval_compare(const void *v1, const void *v2)
|
static int lt_dictval_compare(const void *v1, const void *v2)
|
||||||
{
|
{
|
||||||
dslxt_Tree *s1 = *(dslxt_Tree **)v1;
|
const dslxt_Tree *s1 = *(const dslxt_Tree * const *)v1;
|
||||||
dslxt_Tree *s2 = *(dslxt_Tree **)v2;
|
const dslxt_Tree *s2 = *(const dslxt_Tree * const *)v2;
|
||||||
|
|
||||||
if(s1->val > s2->val) return(1); else return(-1); /* they're *never* equal */
|
if(s1->val > s2->val) return(1); else return(-1); /* they're *never* equal */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue