mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-07-15 20:11:42 +08:00
Merge pull request #1 from rhurlin/rhurlin-patch-1
Unsigned error in index.c
This commit is contained in:
commit
fb058c5ff1
@ -383,7 +383,7 @@ mdb_index_hash_text(MdbHandle *mdb, char *text, char *hash)
|
|||||||
{
|
{
|
||||||
#ifdef __MSWSTR_H__
|
#ifdef __MSWSTR_H__
|
||||||
char *out_ptr = alloca((len+1)*2);
|
char *out_ptr = alloca((len+1)*2);
|
||||||
int i;
|
unsigned int i;
|
||||||
// mdb_ascii2unicode doesn't work, we don't want unicode compression!
|
// mdb_ascii2unicode doesn't work, we don't want unicode compression!
|
||||||
for (i=0; i<len+1; i++) {
|
for (i=0; i<len+1; i++) {
|
||||||
out_ptr[i*2] = text[i];
|
out_ptr[i*2] = text[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user