diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-06 10:29:49 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-06 10:29:49 +0100 |
commit | 6d30021d65aa4126cd5eef47b0e6057dfc17d7ac (patch) | |
tree | ec689ed49e127cb62c515ce56644571f5264434b /util | |
parent | a439bd99d0439c007bc74584c1eb56700c520b52 (diff) |
[trace] Only write the 4 byte length to the stream
We were attempting to write out the whole length of the block when we were
just trying to write out the length value.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index 2775d46e..5ab8cc85 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -1268,7 +1268,7 @@ _write_data_start (struct _data_stream *stream, uint32_t len) _write_base85_data_start (stream); _trace_printf ("<|"); - _write_base85_data (stream, (unsigned char *) &len, len); + _write_base85_data (stream, (unsigned char *) &len, sizeof (len)); } static void |