use const wherever possible
This commit is contained in:
parent
692e2358b1
commit
ba40cc3b39
2
C/text.c
2
C/text.c
@ -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;
|
while ( (chr = *ptr++) != '\0' ) *buf++ = chr;
|
||||||
}
|
}
|
||||||
*buf++ = '\0';
|
*buf++ = '\0';
|
||||||
at = out->val.a = Yap_LookupAtom((char *)HR);
|
at = out->val.a = Yap_LookupAtom((const char *)HR);
|
||||||
return at;
|
return at;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user