No need to cast ybf->buffer_alloc_sz to size_t.
ybf->buffer_alloc_sz has the size_t type.
Change-Id: I52e3f8025bc6d6e79e987783cd8bc6f9d55d129d
diff --git a/aom_scale/generic/yv12config.c b/aom_scale/generic/yv12config.c
index cd5dbea..7cf3c4f 100644
--- a/aom_scale/generic/yv12config.c
+++ b/aom_scale/generic/yv12config.c
@@ -116,7 +116,7 @@
memset(ybf->buffer_alloc, 0, (size_t)frame_size);
#endif
#endif
- } else if (frame_size > (size_t)ybf->buffer_alloc_sz) {
+ } else if (frame_size > ybf->buffer_alloc_sz) {
// Allocation to hold larger frame, or first allocation.
aom_free(ybf->buffer_alloc);
ybf->buffer_alloc = NULL;