comparison audioDB.cpp @ 357:893bb90f6936 gcc-4.3-cleanups

apparently main()'s argc is an int, not an unsigned. Who knew?
author mas01cr
date Wed, 12 Nov 2008 13:05:08 +0000
parents 94c18f128ce8
children d72ff5d0292f
comparison
equal deleted inserted replaced
356:2d638305269b 357:893bb90f6936
885 VERB_LOG(2, " done."); 885 VERB_LOG(2, " done.");
886 } 886 }
887 887
888 // This entry point is visited once per instance 888 // This entry point is visited once per instance
889 // so it is a good place to set any global state variables 889 // so it is a good place to set any global state variables
890 int main(const unsigned argc, char* const argv[]){ 890 int main(const int argc, char* const argv[]){
891 SERVER_LSH_INDEX_SINGLETON = 0; // Initialize global variables 891 SERVER_LSH_INDEX_SINGLETON = 0; // Initialize global variables
892 SERVER_ADB_ROOT = 0; // Server-side database root prefix 892 SERVER_ADB_ROOT = 0; // Server-side database root prefix
893 SERVER_ADB_FEATURE_ROOT = 0; // Server-side features root prefix 893 SERVER_ADB_FEATURE_ROOT = 0; // Server-side features root prefix
894 audioDB(argc, argv); 894 audioDB(argc, argv);
895 } 895 }