- Timestamp:
- 07/30/06 15:06:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r69 r70 149 149 char* inbuf = (char*)uni; 150 150 char* outbuf = ascii; 151 unsigned int out_len = ascii_max-1; 151 size_t in_len = (size_t)uni_max; 152 size_t out_len = (size_t)(ascii_max-1); 152 153 int ret; 153 154 … … 155 156 conv_desc = iconv_open("US-ASCII", "UTF-16LE"); 156 157 157 ret = iconv(conv_desc, &inbuf, & uni_max, &outbuf, &out_len);158 ret = iconv(conv_desc, &inbuf, &in_len, &outbuf, &out_len); 158 159 if(ret == -1) 159 160 {
Note: See TracChangeset
for help on using the changeset viewer.