1.1 --- a/templates/ops.c Wed Jul 11 23:53:09 2018 +0200
1.2 +++ b/templates/ops.c Thu Jul 12 00:15:16 2018 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Common operations.
1.5
1.6 -Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2015, 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -30,7 +30,7 @@
1.12 if (!__INTEGER(attr))
1.13 return attr.value;
1.14 else
1.15 - return &__common_integer_obj;
1.16 + return (__ref) &__common_integer_obj;
1.17 }
1.18
1.19 /* Basic structure tests. */