Added access to value of destination pixel

Additional warning fix.