Skip to content

Commit afd78c4

Browse files
committed
ast-node-conv: Fix comment typo
1 parent a5b7fad commit afd78c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/ast-node-conv.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private function hCheckPtr _
164164
case FB_DATATYPE_INTEGER, FB_DATATYPE_UINT, FB_DATATYPE_ENUM, _
165165
FB_DATATYPE_LONG, FB_DATATYPE_ULONG, _
166166
FB_DATATYPE_LONGINT, FB_DATATYPE_ULONGINT
167-
'' Allow integer-to-pointer casts if same size
167+
'' Allow pointer-to-integer casts if same size
168168
if( typeGetSize( to_dtype ) = env.pointersize ) then
169169
exit function
170170
end if

0 commit comments

Comments
 (0)