Small fixes.
[libdcp.git] / tools / dcpdumpsub.cc
index ac9c2522aa046dbcd869ee87e8c03a34c22428c5..ca98551b742550b5f42b11dc706801415ef0c491 100644 (file)
@@ -83,7 +83,7 @@ main (int argc, char* argv[])
                                cerr << "Could not open font file " << i->first << ".ttf for writing";
                                exit (EXIT_FAILURE);
                        }
-                       fwrite (i->second.data.get(), 1, i->second.size, f);
+                       fwrite (i->second.data().get(), 1, i->second.size(), f);
                        fclose (f);
                }
        }