From 5ce645be3c85d3cca69ac3d3fde5a4059c6d7891 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: ćšć, 06 8æ 2015 17:42:15 +0800 Subject: [PATCH] Fix type cast warnings in LabWindows/CVI --- libscpi/src/minimal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libscpi/src/minimal.c b/libscpi/src/minimal.c index 6727008..dd18ba1 100644 --- a/libscpi/src/minimal.c +++ b/libscpi/src/minimal.c @@ -131,7 +131,7 @@ scpi_result_t SCPI_StatusQuestionableEnable(scpi_t * context) { int32_t new_QUESE; if (SCPI_ParamInt(context, &new_QUESE, TRUE)) { - SCPI_RegSet(context, SCPI_REG_QUESE, new_QUESE); + SCPI_RegSet(context, SCPI_REG_QUESE, (scpi_reg_val_t)new_QUESE); } return SCPI_RES_OK; } -- Gitblit v1.9.1