1.1 --- a/transresults.py Tue Jun 22 23:03:52 2021 +0200
1.2 +++ b/transresults.py Tue Jun 22 23:36:04 2021 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Translation result abstractions.
1.6
1.7 -Copyright (C) 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2016, 2017, 2018, 2021 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -142,7 +142,7 @@
1.13
1.14 # NOTE: Should reference a common variable for the type name.
1.15
1.16 - if self.ref.get_origin() == "__builtins__.int.int":
1.17 + if self.ref.get_origin() == "__builtins__.int.integer":
1.18 return "__INTVALUE(%s)" % self.value
1.19 else:
1.20 return encode_literal_constant(self.number)