mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[util] Make PL_String const correct
This commit is contained in:
parent
72f583f16f
commit
ef33adac56
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ int PL_Line (plitem_t *item) __attribute__((pure));
|
|||
\note You are NOT responsible for freeing the returned object. It will
|
||||
be destroyed when its container is.
|
||||
*/
|
||||
const char *PL_String (plitem_t *string) __attribute__((pure));
|
||||
const char *PL_String (const plitem_t *string) __attribute__((pure));
|
||||
|
||||
/** Retrieve a value from a dictionary object.
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ PL_Free (plitem_t *item)
|
|||
}
|
||||
|
||||
VISIBLE const char *
|
||||
PL_String (plitem_t *string)
|
||||
PL_String (const plitem_t *string)
|
||||
{
|
||||
if (string->type != QFString)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue