Skip to content

Commit

Permalink
Add Checked Scope to ft.c main
Browse files Browse the repository at this point in the history
  • Loading branch information
lenary committed Jun 6, 2017
1 parent 5fbc2bf commit 1931e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MultiSource/Benchmarks/Ptrdist/ft/ft.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ int debug = 1;

_Unchecked int
main(int argc, _Array_ptr<const char*> argv : count(argc) )
{
_Checked {
int nVertex;
int nEdge;
_Ptr<Vertices> graph = 0;
Expand All @@ -78,7 +78,7 @@ main(int argc, _Array_ptr<const char*> argv : count(argc) )
nEdge = DEFAULT_N_EDGE;

if(argc > 1)
{
_Unchecked {
nVertex = atoi(argv[1]);
if(argc > 2)
{
Expand Down

0 comments on commit 1931e28

Please sign in to comment.