change Span length from uint32_t to size_t
This commit is contained in:
parent
739fc1b2a7
commit
2598b10e36
@ -2,13 +2,14 @@
|
||||
#define SPAN_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
struct Span
|
||||
{
|
||||
uint8_t * start;
|
||||
uint32_t length;
|
||||
size_t length;
|
||||
|
||||
Span(uint8_t * _start, uint32_t _length)
|
||||
Span(uint8_t * _start, size_t _length)
|
||||
: start(_start),
|
||||
length(_length)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user