changeset 7591:5ef4d009f950

Correcting error in macro
author anders
date Thu, 03 Oct 2002 12:44:58 +0000
parents 0cba73469341
children f18e5cfa9f4a
files libaf/af.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af.h	Thu Oct 03 12:43:39 2002 +0000
+++ b/libaf/af.h	Thu Oct 03 12:44:58 2002 +0000
@@ -164,7 +164,7 @@
    filter doesn't operate on the incoming buffer this macro must be
    called to ensure the buffer is big enough. */
 #define RESIZE_LOCAL_BUFFER(a,d)\
-((af->data->len < af_lencalc(af->mul,data))?af_resize_local_buffer(af,data):AF_OK)
+((a->data->len < af_lencalc(a->mul,d))?af_resize_local_buffer(a,d):AF_OK)
 
 #ifndef min
 #define min(a,b)(((a)>(b))?(b):(a))