Browse Source

Fix bug with linux build

...Screw it.  %llu it is.
jp9000 11 years ago
parent
commit
1ed146f6aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      obs/obs-app.cpp

+ 2 - 2
obs/obs-app.cpp

@@ -15,7 +15,6 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
 
-#include <inttypes.h>
 #include <sstream>
 #include <util/bmem.h>
 #include <util/dstr.h>
@@ -293,6 +292,7 @@ int main(int argc, char *argv[])
 		blog(LOG_ERROR, "%s", error);
 	}
 
-	blog(LOG_INFO, "Number of memory leaks: %" PRIu64, bnum_allocs());
+	blog(LOG_INFO, "Number of memory leaks: %llu",
+			(unsigned long long int)bnum_allocs());
 	return ret;
 }