Browse Source

oops, one more manual_header

Colin Davidson 2 weeks ago
parent
commit
e1fd69f573
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/prof/spall/spall.odin

+ 1 - 1
core/prof/spall/spall.odin

@@ -88,7 +88,7 @@ context_create_with_scale :: proc(filename: string, precise_time: bool, timestam
 	ctx.precise_time = precise_time
 	ctx.precise_time = precise_time
 	ctx.timestamp_scale = timestamp_scale
 	ctx.timestamp_scale = timestamp_scale
 
 
-	temp := [size_of(Manual_Header)]u8{}
+	temp := [size_of(Manual_Stream_Header)]u8{}
 	_build_stream_header(temp[:], ctx.timestamp_scale)
 	_build_stream_header(temp[:], ctx.timestamp_scale)
 	os.write(ctx.fd, temp[:])
 	os.write(ctx.fd, temp[:])
 	ok = true
 	ok = true