Browse Source

applied patch to prevent sun cc warnings

pre-master-46
dwarning 16 years ago
parent
commit
f210758bdb
  1. 2
      src/frontend/numparam/xpressn.c
  2. 4
      src/include/hash.h

2
src/frontend/numparam/xpressn.c

@ -750,7 +750,7 @@ exists (tdico * d, char *s, int *pi, unsigned char *perror)
{
i = fetchid (s, &t, ls, i);
i--;
if (entrynb (d, spice_dstring_value(&t)) > 0)
if (entrynb(d, spice_dstring_value(&t)))
x = 1.0;
do {

4
src/include/hash.h

@ -77,8 +77,8 @@ typedef struct nghash_iter_rec {
#define NGHASH_ITER_EQUAL(x_yz,y_yz) ( (x_yz)->position == (y_yz)->position )
#define NGHASH_DEF_HASH_STR NGHASH_FUNC_STR
#define NGHASH_DEF_HASH_PTR (void *) NGHASH_FUNC_PTR
#define NGHASH_DEF_HASH_NUM (void *) NGHASH_FUNC_NUM
#define NGHASH_DEF_HASH_PTR ((nghash_func) ((void *) NGHASH_FUNC_PTR))
#define NGHASH_DEF_HASH_NUM ((nghash_func) ((void *) NGHASH_FUNC_NUM))
/* the default comparison functions */
#define NGHASH_DEF_CMP_STR NGHASH_FUNC_STR

Loading…
Cancel
Save