Minor cleanup of callback code.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-12-05 17:09:18 +01:00
parent 7015d616b4
commit 6e52364bcb
2 changed files with 11 additions and 11 deletions
+3 -1
View File
@@ -211,7 +211,9 @@ typedef void (__acc_cdecl *upx_progress_func_t)
struct upx_callback_t
{
upx_progress_func_t nprogress;
void * user1;
void *user;
void reset() { memset(this, 0, sizeof(*this)); }
};