Commit ce0d460a authored by Federico Vaga's avatar Federico Vaga

sw:tools: n_var can be negative of error, change type

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 5b685b32
......@@ -46,8 +46,8 @@ int main(int argc, char *argv[])
{
struct trtl_dev *trtl;
char c;
unsigned int n_var, idx_cpu = 0, idx_hmq = 0;
int err, n, dev_id = -1, i, v;
unsigned int idx_cpu = 0, idx_hmq = 0;
int err, n, dev_id = -1, i, v, n_var;
uint32_t *var;
enum operations mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment