[Pcre-svn] [908] code/trunk/pcretest.c: One more cast to avo…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [908] code/trunk/pcretest.c: One more cast to avoid compiler warning about 'const'.
Revision: 908
          http://vcs.pcre.org/viewvc?view=rev&revision=908
Author:   ph10
Date:     2012-01-30 12:19:29 +0000 (Mon, 30 Jan 2012)


Log Message:
-----------
One more cast to avoid compiler warning about 'const'.

Modified Paths:
--------------
    code/trunk/pcretest.c


Modified: code/trunk/pcretest.c
===================================================================
--- code/trunk/pcretest.c    2012-01-27 11:12:31 UTC (rev 907)
+++ code/trunk/pcretest.c    2012-01-30 12:19:29 UTC (rev 908)
@@ -2411,7 +2411,7 @@
     if (rc)
       {
       const char *arch;
-      (void)PCRE_CONFIG(PCRE_CONFIG_JITTARGET, &arch);
+      (void)PCRE_CONFIG(PCRE_CONFIG_JITTARGET, (void *)(&arch));
       printf("  Just-in-time compiler support: %s\n", arch);
       }
     else