warning errors problem
<p><strong>Program</strong>:</p>

<pre><code>void DibLaplacian8Direct(CDib sourceImg)
{   
    register int i,j;
    int w = sourceImg.GetWidth();
    int h = sourceImg.GetHeight();
    CDib cpyImage = sourceImg;
    BYTE** pSourceImg = sourceImg.GetPtr();
    BYTE** pCpyImage = cpyImage.GetPtr();
    float G;
    for(j =1;j&lt;h-1;j++)
    {
        for(i =1;i&lt;w-1;i++)
        {
            G = -1*pCpyImage[j-1][i-1] + -1*pCpyImage[j-1][i] + (-1)*pCpyImage[j-1][i+1]+
                (-1)*pCpyImage[j][i-1] + 8*pCpyImage[j][i]    + (-1)*pCpyImage[j][i+1]+
                -1*pCpyImage[j+1][i-1]  + (-1)*pCpyImage[j+1][i] + -1*pCpyImage[j+1][i+1];
            pSourceImg[j][i] = (BYTE)G;
        }
    }
}
</code></pre>

<h2><strong>warning error:</strong></h2>

<p>warning.. Can't coonvert from int to float..</p>

<blockquote>
  <p>Warning    1   warning C4819: The file contains a character that cannot be represented in the current code page (1257). Save the file in Unicode format to prevent data loss   D:\2nd\imagetool\dibfilter.cpp  1   1   ImageTool</p>
</blockquote>

<p>I do't understand that why its making me  warning of int to float.
and for warning 1,
I am using VS 2010.. i do't know that i am getting warning in StdAfx.h  include file .
Amy one  can help me with this .</p>
