summaryrefslogtreecommitdiff
path: root/src/KM_util.cpp
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2007-10-29 21:24:32 +0000
committermsheby <>2007-10-29 21:24:32 +0000
commitaff131e971b71a648caaae20b6a9c84207085321 (patch)
treee5158febbc7cb462716f5bfa391ccff4cfc0e2b8 /src/KM_util.cpp
parent57ddb7894042229bbc5f14e9257068afcc6f8725 (diff)
Windows portability fixes.
Diffstat (limited to 'src/KM_util.cpp')
-rwxr-xr-xsrc/KM_util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/KM_util.cpp b/src/KM_util.cpp
index f9a88cd..76b7939 100755
--- a/src/KM_util.cpp
+++ b/src/KM_util.cpp
@@ -45,7 +45,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
struct map_entry_t
{
- long rcode;
+ int rcode;
Kumu::Result_t* result;
};
@@ -56,7 +56,7 @@ static struct map_entry_t s_ResultMap[MapSize];
//
const Kumu::Result_t&
-Kumu::Result_t::Find(long v)
+Kumu::Result_t::Find(int v)
{
if ( v == 0 )
return RESULT_OK;
@@ -72,7 +72,7 @@ Kumu::Result_t::Find(long v)
}
//
-Kumu::Result_t::Result_t(long v, const char* l) : value(v), label(l)
+Kumu::Result_t::Result_t(int v, const char* l) : value(v), label(l)
{
assert(l);