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

ASF GitHub Bot commented on GEODE-2439:
---------------------------------------

Github user pivotal-jbarrett commented on a diff in the pull request:

    https://github.com/apache/geode-native/pull/27#discussion_r102789698
  
    --- Diff: src/clicache/src/CacheableDate.cpp ---
    @@ -90,7 +90,7 @@ namespace Apache
               TimeSpan epochSpan = m_dateTime - EpochTime;
               int64_t millitime =
                 epochSpan.Ticks / TimeSpan::TicksPerMillisecond;
    -          m_hashcode = (int)millitime ^ (int)((int64)millitime >> 32);
    +          m_hashcode = (int)millitime ^ (int)((int64_t)millitime >> 32);
    --- End diff --
    
    This version of CacheableDate is C++/CLI. C++/CLI is only C++ in name. It 
does not make sense to use C++11 types in C++/CLI despite the fact that they 
"work". In C++/CLI `int`, `long`, etc. are not ambiguous like they are in C++.



> Replace all non-standard types in all public includes / API
> -----------------------------------------------------------
>
>                 Key: GEODE-2439
>                 URL: https://issues.apache.org/jira/browse/GEODE-2439
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Ernest Burghardt
>
> research other non-standard types in API, ACE_Time



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to