insertnumber(), express some constness
This commit is contained in:
parent
e8bc7df5c3
commit
160529cf59
|
|
@ -1153,7 +1153,7 @@ evaluate_expr(dico_t *dico, SPICE_DSTRINGPTR qstr_p, const char *t, const char *
|
||||||
/********* interface functions for spice3f5 extension ***********/
|
/********* interface functions for spice3f5 extension ***********/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
insertnumber(dico_t *dico, int i, char *s, SPICE_DSTRINGPTR ustr_p)
|
insertnumber(dico_t *dico, const int i, char *s, SPICE_DSTRINGPTR ustr_p)
|
||||||
/* insert u in string s in place of the next placeholder number */
|
/* insert u in string s in place of the next placeholder number */
|
||||||
{
|
{
|
||||||
const char *u = spice_dstring_value(ustr_p);
|
const char *u = spice_dstring_value(ustr_p);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue