Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
main must return int (at least on my OS/compiler combo)
  • Loading branch information
dcanelhas committed Mar 10, 2014
1 parent 26746e4 commit 32454f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <sstream>
#include <limits>

void main(int argc, char* argv[]) {
int main(int argc, char* argv[]) {

if(argc != 4) {
std::cout << "SDFGen - A utility for converting closed oriented triangle meshes into grid-based signed distance fields.\n";
Expand Down Expand Up @@ -120,5 +120,5 @@ void main(int argc, char* argv[]) {
outfile.close();
std::cout << "Processing complete.\n";


}
return 0;
}

0 comments on commit 32454f8

Please sign in to comment.