applied patch to prevent sun cc warnings
This commit is contained in:
parent
006666ee7f
commit
f210758bdb
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue