evas/cserve2: Enums can hold negative values fine. Still gcc complains so cast this.
authorstefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 20 Jun 2012 07:54:14 +0000 (07:54 +0000)
committerstefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 20 Jun 2012 07:54:14 +0000 (07:54 +0000)
evas_cserve2_requests.c:369: warning: comparison between signed and unsigned integer expressions

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@72523 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/evas_cserve2_requests.c

index 04db647..dd1dd07 100644 (file)
@@ -366,7 +366,7 @@ cserve2_requests_process(void)
 
          for (j = 0; _request_match[j].rtype != CSERVE2_REQ_LAST; j++)
            {
-              if (_request_match[j].rtype == j)
+              if (_request_match[j].rtype == (unsigned int)j)
                 {
                    type = _request_match[j].stype;
                    ctype = _request_match[j].ctype;