use const wherever possible

This commit is contained in:
Vítor Santos Costa 2014-05-25 20:47:35 +01:00
parent 692e2358b1
commit ba40cc3b39

View File

@ -1275,7 +1275,7 @@ concat( int n, seq_tv_t *out, void *sv[], encoding_t encv[], size_t lengv[] USES
while ( (chr = *ptr++) != '\0' ) *buf++ = chr;
}
*buf++ = '\0';
at = out->val.a = Yap_LookupAtom((char *)HR);
at = out->val.a = Yap_LookupAtom((const char *)HR);
return at;
}
}