diff --git a/pom.xml b/pom.xml index 262404d6f2b01b277269c20d32902978f616fcce..7ffb9309600de4988c61fcbc4802b78a9e8c8993 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ </parent> <groupId>fr.soleil.device</groupId> <artifactId>AcquireWaveformLecroy-${aol}-${mode}</artifactId> - <version>1.1.9</version> + <version>1.1.10-SNAPSHOT</version> <packaging>nar</packaging> <name>AcquireWaveformLecroy</name> <description>AcquireWaveformLecroy device</description> diff --git a/src/Waveform.cpp b/src/Waveform.cpp index b4c8d537b1c54a507c4732f5a7f0f131161587f6..5764ddc004421b6e04f81f14f8367f6b1551cd77 100644 --- a/src/Waveform.cpp +++ b/src/Waveform.cpp @@ -98,8 +98,8 @@ short OFFSET_STRUCT = 0; //- prepare the cmd to get the waveform data cmd = ch_name + ":WF? ALL"; cmdStr = new char[cmd.size()+1]; - strcpy(cmdStr, cmd.c_str()); - int length = strlen(cmdStr); + std::strcpy(cmdStr, cmd.c_str()); + int length = std::strlen(cmdStr); //- send the request SocketLecroy::get_instance( )->TCP_WriteDevice(cmdStr,length,true);