mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[BTRFS] Fix wrong condition check
This commit is contained in:
parent
19779b3f96
commit
3ec3e1a7f6
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void add_group_mapping(WCHAR* sidstring, ULONG sidstringlength, uint32_t gid) {
|
|||
while (sidstringlength > 0) {
|
||||
val = 0;
|
||||
i = 0;
|
||||
while (sidstring[i] != '-' && i < sidstringlength) {
|
||||
while (i < sidstringlength && sidstring[i] != '-') {
|
||||
if (sidstring[i] >= '0' && sidstring[i] <= '9') {
|
||||
val *= 10;
|
||||
val += sidstring[i] - '0';
|
||||
|
|
Loading…
Reference in a new issue