[ 
https://issues.apache.org/jira/browse/TS-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707486#comment-13707486
 ] 

Leif Hedstrom commented on TS-2002:
-----------------------------------

no, wouldn't be the same, right ? unless regression_test is also NULL, but then 
you would segfault ;). But lets land this.
                
> clang complaint in Main.cc: incompatible operand types ('char' and 'char *') 
> -----------------------------------------------------------------------------
>
>                 Key: TS-2002
>                 URL: https://issues.apache.org/jira/browse/TS-2002
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>             Fix For: 3.3.5
>
>
> {code}
>   CXX    Main.o
> Main.cc:1100:53: error: incompatible operand types ('char' and 'char *')
>     char *rt = (char *) (regression_test[0] == '\0' ? '\0' : regression_test);
>                                                     ^ ~~~~   ~~~~~~~~~~~~~~~
> 1 error generated.
> make[2]: *** [Main.o] Error 1
> make[2]: Leaving directory `/home/igalic/src/asf/trafficserver/proxy'
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to