From: Avi Kivity <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
diff --git a/user/test/x86/tsc.c b/user/test/x86/tsc.c index 3ead720..466af57 100644 --- a/user/test/x86/tsc.c +++ b/user/test/x86/tsc.c @@ -24,7 +24,7 @@ void test_wrtsc(u64 t1) wrtsc(t1); t2 = rdtsc(); - printf("rdtsc after wrtsc(%d): %d\n", t1, t2); + printf("rdtsc after wrtsc(%d): %lld\n", t1, t2); } int main() @@ -33,7 +33,7 @@ int main() t1 = rdtsc(); t2 = rdtsc(); - printf("rdtsc latency %d\n", (unsigned)(t2 - t1)); + printf("rdtsc latency %lld\n", (unsigned)(t2 - t1)); test_wrtsc(0); test_wrtsc(100000000000ull); ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits