From 7440dfe96a8047fb39c34fa6bc0a0e5339fd1b52 Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Mon, 9 Feb 2015 18:06:05 +0100 Subject: Fixed a bug with kiro_trb_get_element returning the wrong address Changed kiro_trb_get_element interface to allow negative element indices --- src/kiro-trb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kiro-trb.h') 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); /** -- cgit v1.2.3