diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
commit | 61a9e3c08009d143def75765169ed844944c370e (patch) | |
tree | b1ee38c5ed5098da6f16917b3287d4e420b1eb43 /src/store.cc | |
parent | fc06bedef3f5521a97989ebb6c7160744c640a19 (diff) |
Add "const" qualifiers
Diffstat (limited to 'src/store.cc')
-rw-r--r-- | src/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.cc b/src/store.cc index d2947a7f..f2f92cd0 100644 --- a/src/store.cc +++ b/src/store.cc @@ -490,7 +490,7 @@ static void mass_produce(object_type *o_ptr) * * See "object_similar()" for the same function for the "player" */ -static bool_ store_object_similar(object_type *o_ptr, object_type *j_ptr) +static bool_ store_object_similar(object_type const *o_ptr, object_type *j_ptr) { /* Hack -- Identical items cannot be stacked */ if (o_ptr == j_ptr) return (0); |