diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2015-02-09 18:06:05 +0100 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2015-02-09 19:30:51 +0100 |
commit | 7440dfe96a8047fb39c34fa6bc0a0e5339fd1b52 (patch) | |
tree | b03a2b5f73f5bfb6add52802f293f206033cae36 /src/kiro-trb.h | |
parent | 315bef63d3774eb0ad64820508e967dd09dee303 (diff) | |
download | kiro-7440dfe96a8047fb39c34fa6bc0a0e5339fd1b52.tar.gz kiro-7440dfe96a8047fb39c34fa6bc0a0e5339fd1b52.tar.bz2 kiro-7440dfe96a8047fb39c34fa6bc0a0e5339fd1b52.tar.xz kiro-7440dfe96a8047fb39c34fa6bc0a0e5339fd1b52.zip |
Fixed a bug with kiro_trb_get_element returning the wrong address
Changed kiro_trb_get_element interface to allow negative element indices
Diffstat (limited to 'src/kiro-trb.h')
-rw-r--r-- | src/kiro-trb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kiro-trb.h b/src/kiro-trb.h index 806ad5e..6620191 100644 --- a/src/kiro-trb.h +++ b/src/kiro-trb.h @@ -199,7 +199,7 @@ void* kiro_trb_get_raw_buffer (KiroTrb *trb); * See also: * kiro_trb_get_element_size, kiro_trb_get_raw_buffer */ -void* kiro_trb_get_element (KiroTrb *trb, uint64_t index); +void* kiro_trb_get_element (KiroTrb *trb, glong index); /** |