diff --git a/modules/ocl/src/haar.cpp b/modules/ocl/src/haar.cpp index 6283ac8d9f..934957e593 100644 --- a/modules/ocl/src/haar.cpp +++ b/modules/ocl/src/haar.cpp @@ -262,7 +262,7 @@ static GpuHidHaarClassifierCascade * gpuCreateHidHaarClassifierCascade( CvHaarCl int datasize; int total_classifiers = 0; int total_nodes = 0; - char errorstr[100]; + char errorstr[256]; GpuHidHaarStageClassifier *stage_classifier_ptr; GpuHidHaarClassifier *haar_classifier_ptr;