rtl8188eu: Fix gcc 10 warnings

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2020-05-16 14:20:37 -05:00
parent 8257e13060
commit ac42434b2a
2 changed files with 46 additions and 46 deletions

View file

@ -908,7 +908,7 @@ u32 mp_query_psd(struct adapter *pAdapter, u8 *data)
} else {
psd_data = rtw_GetPSDData(pAdapter, i);
}
sprintf(data, "%s%x ", data, psd_data);
sprintf(data + strlen(data), "%x ", psd_data);
i++;
}