falcon: conversion warning

This commit is contained in:
John M. Schanck 2020-09-17 11:25:08 -04:00
parent 3773b71aa3
commit 1caa0cfeff
2 changed files with 6 additions and 2 deletions

View File

@ -444,7 +444,9 @@ PQCLEAN_FALCON1024_CLEAN_comp_decode(
}
}
x[u] = (int16_t) m;
if (s) x[u] = -x[u];
if (s) {
x[u] = (int16_t) -x[u];
}
}
return v;
}

View File

@ -444,7 +444,9 @@ PQCLEAN_FALCON512_CLEAN_comp_decode(
}
}
x[u] = (int16_t) m;
if (s) x[u] = -x[u];
if (s) {
x[u] = (int16_t) -x[u];
}
}
return v;
}