Add S60 5.2 support.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Converting Pointers to Types of the Same Size</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>Converting Pointers to Types of the Same Size</h3>
<p>The C compiler allows the conversion of pointer types to integral data types of the same size in global initializations. Since this type of conversion does not conform to the ANSI C standard, it is only available if the <a href="../pragmas/p_ANSI_strict.htm">ANSI Strict</a> setting is disabled. </p>
<div class="listing">
<h5>Converting a Pointer to a Same-sized Integral Type</h5>
<p>char c;<br />
long arr = (long)&c; // accepted (not ISO C)</p>
</div>
<p>See <a href="c_std_conformity.htm">Checking for Standard C and Standard C++ Conformity</a> for more information on this setting. </p>
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>