mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Fixed a comment.
committer: mfx <mfx> 972865547 +0000
This commit is contained in:
parent
a53817b410
commit
2bccbeb6d1
|
@ -183,7 +183,7 @@ bool Filter::verifyUnfilter()
|
||||||
bool Filter::scan(const upx_byte *buf_, unsigned buf_len_)
|
bool Filter::scan(const upx_byte *buf_, unsigned buf_len_)
|
||||||
{
|
{
|
||||||
// Note: must use const_cast here. This is fine as the scan
|
// Note: must use const_cast here. This is fine as the scan
|
||||||
// implementations (f->s) actually don't change the buffer.
|
// implementations (fe->do_scan) actually don't change the buffer.
|
||||||
upx_byte *b = const_cast<upx_byte *>(buf_);
|
upx_byte *b = const_cast<upx_byte *>(buf_);
|
||||||
initFilter(this, b, buf_len_);
|
initFilter(this, b, buf_len_);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user