| Submitter | Don Slutz |
|---|---|
| Date | Sept. 17, 2012, 1:39 p.m. |
| Message ID | <1347889189-9199-4-git-send-email-Don@CloudSwitch.com> |
| Download | mbox | patch |
| Permalink | /patch/184403/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index af50a8f..0313cf5 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1146,7 +1146,7 @@ static void x86_cpuid_set_tsc_freq(Object *obj, Visitor *v, void *opaque, { X86CPU *cpu = X86_CPU(obj); const int64_t min = 0; - const int64_t max = INT_MAX; + const int64_t max = INT64_MAX; int64_t value; visit_type_freq(v, &value, name, errp);