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

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yajiedesign committed Dec 27, 2019
1 parent 6515bf6 commit 8c7043f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/windowsbuild/warp_dll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ int find_version()
}
}

for (int i = sizeof(known_sm) / sizeof(known_sm[0]) -1 ; i >=0; --i)
for (int i = known_sm.size() -1 ; i >=0; --i)
{
if(known_sm[i]<= version)
{
Expand Down

0 comments on commit 8c7043f

Please sign in to comment.