Revision: 6804
Author: ek.kato
Date: Sun Nov  7 21:30:06 2010
Log: * uim/bsdlook.c (uim_look_finish) : Suppress compiler warning.

http://code.google.com/p/uim/source/detail?r=6804

Modified:
 /trunk/uim/bsdlook.c

=======================================
--- /trunk/uim/bsdlook.c        Fri Nov  5 20:12:40 2010
+++ /trunk/uim/bsdlook.c        Sun Nov  7 21:30:06 2010
@@ -166,7 +166,7 @@
        if (!ctx)
                return;

-       if (ctx->front0 > 0 && munmap(ctx->front0, ctx->len) == -1)
+       if ((intptr_t)ctx->front0 > 0 && munmap(ctx->front0, ctx->len) == -1)
                perror("uim_look_finish");

        if (ctx->fd > 0)

Reply via email to