add cast to previous commit

This commit is contained in:
asava 2020-03-31 03:16:18 +03:00
parent e149dafe4d
commit 6c816f8595

View File

@ -2074,7 +2074,7 @@ static INT32 devprop_add_nvidia_template(DevPropDevice *device, INTN n_ports)
for (pnum = 0; pnum < n_ports; pnum++) {
snprintf(nkey, 24, "@%lld,name", pnum);
snprintf(nval, 24, "NVDA,Display-%c", (65+pnum));
snprintf(nval, 24, "NVDA,Display-%c", (char)(65+pnum));
//DBG("Nvidia: insert [%s : %s]\n", nkey, nval);
devprop_add_value(device, nkey, (UINT8*)nval, 14);