Index: trunk/stac/src/stac.c
===================================================================
--- trunk/stac/src/stac.c	(revision 5745)
+++ trunk/stac/src/stac.c	(revision 6771)
@@ -160,5 +160,5 @@
             image = psImageCopy(NULL, transformed->data[i], PS_TYPE_F32);
             (void)psImageClipNaN(image, 0.0);
-            if (!psFitsWriteImage(shiftFile, headers->data[i], image, 0)) {
+            if (!psFitsWriteImage(shiftFile, headers->data[i], image, 0, NULL)) {
                 psErrorStackPrint(stderr, "Unable to write image: %s\n", shiftName);
             }
@@ -266,5 +266,5 @@
         psTrace("stac", 3, "Clipping %d NaN pixels to zero.\n", numPix);
     }
-    if (!psFitsWriteImage(outFile, headers->data[0], combined, 0)) {
+    if (!psFitsWriteImage(outFile, headers->data[0], combined, 0, NULL)) {
         psErrorStackPrint(stderr, "Unable to write image: %s\n", config->output);
     }
