diff --git a/motorApp/NewportSrc/XPSGathering.c b/motorApp/NewportSrc/XPSGathering.c index daf73fba..f0822272 100644 --- a/motorApp/NewportSrc/XPSGathering.c +++ b/motorApp/NewportSrc/XPSGathering.c @@ -24,7 +24,7 @@ epicsShareFunc void xps_gathering() { int status,poll_socket,drive_socket,end=0; - int ftpSocket; + SOCKET ftpSocket; char *gatheringData = "GROUP2.POSITIONER1.SetpointPosition;" "GROUP2.POSITIONER1.CurrentPosition;" "GROUP2.POSITIONER1.CurrentVelocity;" diff --git a/motorApp/NewportSrc/XPSGathering2.c b/motorApp/NewportSrc/XPSGathering2.c index def9d20c..1c258db5 100644 --- a/motorApp/NewportSrc/XPSGathering2.c +++ b/motorApp/NewportSrc/XPSGathering2.c @@ -25,7 +25,7 @@ int main(int argc, char *argv[]) { int status,poll_socket,drive_socket,end=0; - int ftpSocket; + SOCKET ftpSocket; char *gatheringData = "GROUP1.PHI.SetpointPosition;" "GROUP1.PHI.CurrentPosition;" "GROUP1.KAPPA.SetpointPosition;"