title: '_wctime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *'
body: <p>VS 2010 Ultimate,
  I occur some error C2664,</p>
  
  <p>I've tried according to information found on web 
  - add #include  
  - change in general properties ' Use multi-byte character set'
  without success.</p>
  
  <p>do you have any ideas?</p>
  
  <pre><code>c:\program files (x86)\microsoft visual studio 10.0\vc\include\time.inl(36): error C2664: '_ctime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
  c:\program files (x86)\microsoft visual studio 10.0\vc\include\time.inl(42): error C2664: 'errno_t _ctime32_s(char *,size_t,const __time32_t *)' : cannot convert parameter 3 from 'const time_t *' to 'const __time32_t *'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
  c:\program files (x86)\microsoft visual studio 10.0\vc\include\time.inl(49): error C2664: '_gmtime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *'
            Types pointed to are unrelated; conversion requires reinterpret_cast, 
  </code></pre>
  
  <p>it points to time.inl from MS VS</p>
  
  <pre><code>_CRT_INSECURE_DEPRECATE(ctime_s) static __inline char * __CRTDECL ctime(const time_t * _Time)
  {
  #pragma warning( push )
  #pragma warning( disable : 4996 )
      return _ctime32(_Time);
  #pragma warning( pop )
  }
  #if __STDC_WANT_SECURE_LIB__
  static __inline errno_t __CRTDECL ctime_s(char *_Buffer, size_t _SizeInBytes, const time_t * _Time)
  {
      return _ctime32_s(_Buffer, _SizeInBytes, _Time);
  }
  #endif
  </code></pre>