Fixed ADM64 sizeof
authorRobert Pengelly <robertapengelly@hotmail.com>
Wed, 15 Jul 2026 22:36:18 +0000 (23:36 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Wed, 15 Jul 2026 22:36:18 +0000 (23:36 +0100)
amd64.c

diff --git a/amd64.c b/amd64.c
index 8adccfe58f0ca2123dbb2445e5735cdb557e1ccf..1c2768009fc73e16ed86b111096c2861d80855f4 100644 (file)
--- a/amd64.c
+++ b/amd64.c
@@ -7540,7 +7540,7 @@ static int64_s sizeof_from_current_token (void) {
      * routed into expr_const64() as if the identifier inside the parentheses
      * were an integer constant expression.
      */
-    if (sizeof_text_simple_identifier_now (tok.start, name, sizeof (name), &parenthesized) && sizeof_symbol_object_now (name, &size)) {
+    if (sizeof_text_simple_identifier_now (tok.caret, name, sizeof (name), &parenthesized) && sizeof_symbol_object_now (name, &size)) {
     
         sizeof_consume_simple_identifier_now (parenthesized);