Skip to content

Commit ba645d1

Browse files
committed
fix error in Helper
1 parent c755308 commit ba645d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dbus-java/src/main/java/org/freedesktop/dbus/messages/EmptyCollectionHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static int determineSignatureOffsetEmptyCollection(byte[] sigb, int currentOffse
3939
int structsDepth = 0;
4040
int dictDepth = 0;
4141

42-
ECollectionSubType subTypeCategory = determineCollectionSubType((char)sigb[i]);
42+
ECollectionSubType subTypeCategory = determineCollectionSubType((char)sigb[currentOffset]);
4343
for(char chr : sigSubString.toCharArray()) {
4444
//book keeping of depth of nested structures to solve opening closing bracket problem
4545
switch (chr) {

0 commit comments

Comments
 (0)