MFC rev. 1.163 by sos:   Fix type casts so that we get at the right response queue.
MFC rev. 1.163 by sos:
  Fix type casts so that we get at the right response queue.

  Submitted by: glebius+ru

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase