From 65f187964c2741c2b70f2f0c098ae6d9126c8769 Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 27 Apr 2011 09:59:07 -0700 Subject: [PATCH] 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. --- vpi/lxt_write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpi/lxt_write.c b/vpi/lxt_write.c index 3ed778cc5..9731363e9 100644 --- a/vpi/lxt_write.c +++ b/vpi/lxt_write.c @@ -996,8 +996,8 @@ if(rgh) lt_recurse_dictionary_free(lt, rgh); static int lt_dictval_compare(const void *v1, const void *v2) { -dslxt_Tree *s1 = *(dslxt_Tree **)v1; -dslxt_Tree *s2 = *(dslxt_Tree **)v2; +const dslxt_Tree *s1 = *(const dslxt_Tree * const *)v1; +const dslxt_Tree *s2 = *(const dslxt_Tree * const *)v2; if(s1->val > s2->val) return(1); else return(-1); /* they're *never* equal */ }