about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/myaddr.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/myaddr.nim b/src/utils/myaddr.nim
index 4405e0c4..6eee071f 100644
--- a/src/utils/myaddr.nim
+++ b/src/utils/myaddr.nim
@@ -11,8 +11,8 @@
 when NimMajor >= 2:
   const msg = "expression has no address; maybe use `unsafeAddr'"
 
-  template addr(x: untyped): untyped {.used, error: msg.} =
+  template addr(x: auto): auto {.used, error: msg.} =
     discard
 
-  template addr(x: var untyped): untyped {.used.} =
+  template addr(x: var auto): auto {.used.} =
     system.addr x