diff options
author | Araq <rumpf_a@web.de> | 2011-04-11 23:28:53 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-04-11 23:28:53 +0200 |
commit | 46c41e43690cba9bc1caff6a994bb6915df8a1b7 (patch) | |
tree | c96be792eceb1d189cdb5bcff6e1a06f9b51e76c /lib/wrappers/expat.nim | |
parent | 3d696c3da53e5c41d839d8265fbc94f1c64980bb (diff) | |
download | Nim-46c41e43690cba9bc1caff6a994bb6915df8a1b7.tar.gz |
p[] instead of p^
Diffstat (limited to 'lib/wrappers/expat.nim')
-rwxr-xr-x | lib/wrappers/expat.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/expat.nim b/lib/wrappers/expat.nim index 940d50ed6..3400dfdf7 100755 --- a/lib/wrappers/expat.nim +++ b/lib/wrappers/expat.nim @@ -564,7 +564,7 @@ proc SetUserData*(parser: PParser, userData: pointer){.cdecl, # Returns the last value set by XML_SetUserData or NULL. template GetUserData*(parser: expr): expr = - (cast[ptr pointer]((parser))^ ) + (cast[ptr pointer]((parser))[] ) # This is equivalent to supplying an encoding argument to # XML_ParserCreate. On success XML_SetEncoding returns non-zero, |