From: Fabian Groffen Date: Sat, 7 Apr 2007 23:13:55 +0000 (-0700) Subject: Fix compiler warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f36b47384fecc54f7ce7a542c1a0a42bdb58ebd;p=neomutt Fix compiler warnings --- diff --git a/hcache.c b/hcache.c index efb4eee9c..8246ea7a4 100644 --- a/hcache.c +++ b/hcache.c @@ -296,8 +296,10 @@ restore_buffer(BUFFER ** b, const unsigned char *d, int *off) restore_char(&(*b)->data, d, off); restore_int(&offset, d, off); (*b)->dptr = (*b)->data + offset; - restore_int((unsigned int *) &(*b)->dsize, d, off); - restore_int((unsigned int *) &(*b)->destroy, d, off); + restore_int (&used, d, off); + (*b)->dsize = used; + restore_int (&used, d, off); + (*b)->destroy = used; } static unsigned char *