When compiled with MSVC on a 64 bit platform, parent->num_children-1 yields 0xfffffff...
authorjefftk <jefftk@google.com>
Tue, 17 Feb 2015 14:58:20 +0000 (14:58 +0000)
committerjefftk <jefftk@google.com>
Tue, 17 Feb 2015 14:58:20 +0000 (14:58 +0000)
commitda46b1b3fe9d9c0a5723b4b1e39c01650da2f27c
tree387b733bfa14cfafe4afa306b7d2079f19a74a3c
parent92962e5277554fb7ed029742a77bef2448e9c3e9
When compiled with MSVC on a 64 bit platform, parent->num_children-1 yields 0xffffffff and not -1 because of casting rules; fix this by explicitly casting to an int.
src/domain_registry/private/trie_search.c