You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by mo...@apache.org on 2009/11/03 17:07:02 UTC

svn commit: r832475 - /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c

Author: monteith
Date: Tue Nov  3 17:07:02 2009
New Revision: 832475

URL: http://svn.apache.org/viewvc?rev=832475&view=rev
Log:
Fix _int64 references.

Modified:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c?rev=832475&r1=832474&r2=832475&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c (original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c Tue Nov  3 17:07:02 2009
@@ -353,7 +353,7 @@
 int initAgent(){
 	static int dumpCount;
 	time_t creationTime;
-	__int64 longCreationTime;
+	INT64 longCreationTime;
 	struct tm  * dumpTime;
 	char fileName[50];
 	int nameType = 0; // Switches between timestamping the file and not
@@ -392,8 +392,8 @@
 	fwrite(&endianCheck, sizeof(int), 1, variableFile);
 	fprintf(variableFile, "CJVMTI V0.01");
 
-	longCreationTime = (_int64) creationTime; // Ensure that time is written as a long long.
-	fwrite(&longCreationTime, sizeof(_int64), 1, variableFile);
+	longCreationTime = (INT64) creationTime; // Ensure that time is written as a long long.
+	fwrite(&longCreationTime, sizeof(INT64), 1, variableFile);
 	dumpCount++;
 	return 1;
 }