vold: Internally use sector counts for asec lengths
Signed-off-by: San Mehat <san@google.com>
diff --git a/Loop.h b/Loop.h
index da91dc2..f06f91d 100644
--- a/Loop.h
+++ b/Loop.h
@@ -28,7 +28,7 @@
static int create(const char *loopFile, char *loopDeviceBuffer, size_t len);
static int destroyByDevice(const char *loopDevice);
static int destroyByFile(const char *loopFile);
- static int createImageFile(const char *file, size_t sizeMb);
+ static int createImageFile(const char *file, unsigned int numSectors);
};
#endif