title: Cannot convert parameter 1 from derived pointer to base class pointer reference
body: <p>i have class that inherits from base class , 
  then i have method that excepts as parameter pointer reference to base class .
  when i try to pass the inherited object to the method im getting :</p>
  
  <p>c++ cannot convert parameter 1 from 'ReelSymbol *' to ' Sprite *&amp;'</p>
  
  <p>Sprite  is frame work base class </p>
  
  <pre><code>class ReelSymbol :public Sprite 
  {
      public:
            ReelSymbol();
            ~ReelSymbol();
  
  };
  </code></pre>
  
  <p>this is the method that i try to pass the ReelSymbol object pointer to </p>
  
  <pre><code>void UT::setSpriteReelsSymbolBoundingBoxSize(Sprite* &amp;sprite)
  {
      //DOTO to think if to use scale or bounding box size
      sprite-&gt;setScale(pSettings-&gt;ReelSymbolScaleFactor);
  }
  </code></pre>
  
  <p>like this :</p>
  
  <pre><code>ReelSymbol* sprite = new ReelSymbol();
  ut.setSpriteReelsSymbolBoundingBoxSize(sprite);
  </code></pre>
  
  <p>and getting this error:</p>
  
  <pre><code>c++ cannot convert parameter 1 from 'ReelSymbol *' to ' Sprite *&amp;'
  </code></pre>