ignore: non_constant_type_argument_warning (#80)

diff --git a/lib/src/allocation.dart b/lib/src/allocation.dart
index ca63921..fc02bfc 100644
--- a/lib/src/allocation.dart
+++ b/lib/src/allocation.dart
@@ -52,6 +52,7 @@
 /// Throws an ArgumentError on failure to allocate.
 @Deprecated('Use calloc() instead.')
 Pointer<T> allocate<T extends NativeType>({int count = 1}) {
+  // ignore: non_constant_type_argument_warning
   final int totalSize = count * sizeOf<T>();
   return calloc.allocate(totalSize);
 }