X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ftracecontext.c;h=03cee2cca190717b05e880ddcaf1d73e0f1e59db;hb=8fe3c6b699e245cf9a5263e687778dc10d501f4b;hp=5c2a17cb33b1ac349a1a609fe88d7098104b5494;hpb=51551c6ffe79971db022c2533db76f353523399e;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index 5c2a17cb..03cee2cc 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -39,7 +39,7 @@ gint compare_tracefile(gconstpointer a, gconstpointer b) const LttvTracefileContext *trace_b = (const LttvTracefileContext *)b; if(likely(trace_a != trace_b)) { - comparison = ltt_time_compare(trace_b->timestamp, trace_a->timestamp); + comparison = ltt_time_compare(trace_a->timestamp, trace_b->timestamp); if(unlikely(comparison == 0)) { if(trace_a->index < trace_b->index) comparison = -1; else if(trace_a->index > trace_b->index) comparison = 1;