compilation warnings

This commit is contained in:
Vítor Santos Costa 2015-10-22 00:48:30 +01:00
parent 352ea085b7
commit 03850291c0

View File

@ -1343,7 +1343,7 @@ jni_hr_del(
HrEntry *ep; /* pointer to a HashedRef table entry */ HrEntry *ep; /* pointer to a HashedRef table entry */
HrEntry **epp; /* pointer to ep's handle, in case it needs updating */ HrEntry **epp; /* pointer to ep's handle, in case it needs updating */
JPL_DEBUG(1, Sdprintf( "[removing possible object reference %u]\n", iref)); JPL_DEBUG(1, Sdprintf( "[removing possible object reference %p]\n", (void *)iref));
for ( index=0 ; index<hr_table->length ; index++ ) /* for each slot */ for ( index=0 ; index<hr_table->length ; index++ ) /* for each slot */
{ {
for ( epp=&(hr_table->slots[index]), ep=*epp ; ep!=NULL ; epp=&(ep->next), ep=*epp ) for ( epp=&(hr_table->slots[index]), ep=*epp ; ep!=NULL ; epp=&(ep->next), ep=*epp )
@ -5711,7 +5711,7 @@ static foreign_t
} }
else else
{ {
JPL_DEBUG(1, Sdprintf("JPL needs [%d] JVM opts as before\n")); JPL_DEBUG(1, Sdprintf("JPL needs [%d] JVM opts as before\n", n));
} }
} }
head = PL_new_term_ref(); /* variable for the elements */ head = PL_new_term_ref(); /* variable for the elements */