equal
deleted
inserted
replaced
151 UNS8 *ptr_dest = (UNS8*)pDestData; |
151 UNS8 *ptr_dest = (UNS8*)pDestData; |
152 while( *ptr && ptr < ptr_end){ |
152 while( *ptr && ptr < ptr_end){ |
153 *(ptr_dest++) = *(ptr++); |
153 *(ptr_dest++) = *(ptr++); |
154 } |
154 } |
155 |
155 |
156 *pExpectedSize = ptr - ptr_start; |
156 *pExpectedSize = (UNS32) (ptr - ptr_start); |
157 /* terminate string if not maximum length */ |
157 /* terminate string if not maximum length */ |
158 if (*pExpectedSize < szData) |
158 if (*pExpectedSize < szData) |
159 *(ptr) = 0; |
159 *(ptr) = 0; |
160 } |
160 } |
161 |
161 |