]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
fix compile issue with gcc 9.1.0 (issue #868)
[proxmark3-svn] / armsrc / appmain.c
index 93f32f5fac72a6d29c5b1dd0507ffbc4d33a7f87..c7c716a735847b2bdbc3839436ba01fa5b6509a6 100644 (file)
@@ -998,7 +998,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
        switch(c->cmd) {
 #ifdef WITH_LF
                case CMD_SET_LF_SAMPLING_CONFIG:
-                       setSamplingConfig((sample_config *) c->d.asBytes);
+                       setSamplingConfig(c->d.asBytes);
                        break;
                case CMD_ACQUIRE_RAW_ADC_SAMPLES_125K:
                        cmd_send(CMD_ACK,SampleLF(c->arg[0], c->arg[1]),0,0,0,0);
Impressum, Datenschutz