1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtinfo/OutlineListViewMotif.C: coverity CID 87754; memset truncated

This commit is contained in:
Jon Trulson 2018-03-31 18:53:29 -06:00
parent 2c2fb1151d
commit 05773d7499

View file

@ -334,7 +334,7 @@ OutlineListView::create_xm_string (OutlineElement *oe, int base_level,
} }
p++ ; p++ ;
} }
memset (p, OLIAS_PLACEHOLDER_ICON, oe->level() - base_level); memset (p, (unsigned char)OLIAS_PLACEHOLDER_ICON, oe->level() - base_level);
unsigned int pos = oe->level() - base_level + track; unsigned int pos = oe->level() - base_level + track;