Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 8c7043f

Browse files
committed
fix
1 parent 6515bf6 commit 8c7043f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/windowsbuild/warp_dll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ int find_version()
9898
}
9999
}
100100

101-
for (int i = sizeof(known_sm) / sizeof(known_sm[0]) -1 ; i >=0; --i)
101+
for (int i = known_sm.size() -1 ; i >=0; --i)
102102
{
103103
if(known_sm[i]<= version)
104104
{

0 commit comments

Comments
 (0)