Merge "stats_log_api_gen: Minor printf format fix" into qt-dev

am: b4d7e8f459

Change-Id: I7929d4da44ee5df8512a8d9318f9b3a21deddbdd
This commit is contained in:
Greg Kaiser
2019-04-09 18:58:29 -07:00
committed by android-build-merger

View File

@@ -1177,7 +1177,7 @@ static int write_java_method_for_module(
// Initialize the buffer with list data type.
fprintf(out, " buff[pos] = LIST_TYPE;\n");
fprintf(out, " buff[pos + 1] = %lu;\n", signature.size() + 2);
fprintf(out, " buff[pos + 1] = %zu;\n", signature.size() + 2);
fprintf(out, " pos += LIST_TYPE_OVERHEAD;\n");
// Write timestamp.