Nearing 0.6.2 release; Windows version now works.
diff --git a/bsd.cc b/bsd.cc
index 1db68ea..88c25d0 100644
--- a/bsd.cc
+++ b/bsd.cc
@@ -43,12 +43,12 @@
 // Read BSD disklabel data from the specified device filename. This function
 // just opens the device file and then calls an overloaded function to do
 // the bulk of the work. Returns 1 on success, 0 on failure.
-int BSDData::ReadBSDData(string *device, uint64_t startSector, uint64_t endSector) {
+int BSDData::ReadBSDData(const string & device, uint64_t startSector, uint64_t endSector) {
    int allOK = 1;
    DiskIO myDisk;
 
-   if (*device != "") {
-      if (myDisk.OpenForRead(*device)) {
+   if (device != "") {
+      if (myDisk.OpenForRead(device)) {
          allOK = ReadBSDData(&myDisk, startSector, endSector);
       } else {
          allOK = 0;