Revision c2ef4a26
Von martin vor etwa 14 Jahren hinzugefügt
src/parser/tlv.c | ||
---|---|---|
pos++;
|
||
j=((unsigned char)(p[pos]))<<16;
|
||
pos++;
|
||
j=((unsigned char)(p[pos]))<<8;
|
||
j+=((unsigned char)(p[pos]))<<8;
|
||
pos++;
|
||
j+=(unsigned char)(p[pos]);
|
||
} /* 0x83 */
|
||
... | ... | |
pos++;
|
||
j=((unsigned char)(p[pos]))<<24;
|
||
pos++;
|
||
j=((unsigned char)(p[pos]))<<16;
|
||
j+=((unsigned char)(p[pos]))<<16;
|
||
pos++;
|
||
j=((unsigned char)(p[pos]))<<8;
|
||
j+=((unsigned char)(p[pos]))<<8;
|
||
pos++;
|
||
j+=(unsigned char)(p[pos]);
|
||
} /* 0x84 */
|
||
... | ... | |
pos++;
|
||
j=((uint64_t) ((unsigned char)(p[pos])))<<32;
|
||
pos++;
|
||
j=((uint64_t) ((unsigned char)(p[pos])))<<24;
|
||
j+=((uint64_t) ((unsigned char)(p[pos])))<<24;
|
||
pos++;
|
||
j=((uint64_t) ((unsigned char)(p[pos])))<<16;
|
||
j+=((uint64_t) ((unsigned char)(p[pos])))<<16;
|
||
pos++;
|
||
j=((uint64_t) ((unsigned char)(p[pos])))<<8;
|
||
j+=((uint64_t) ((unsigned char)(p[pos])))<<8;
|
||
pos++;
|
||
j+=(unsigned char)(p[pos]);
|
||
} /* 0x85 */
|
Auch abrufbar als: Unified diff
Fixed a few bugs in new TLV code.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2094 70169cfe-8b10-0410-8925-dcb4b91034d8