/* PSPP - a program for statistical analysis.
- Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <config.h>
-#include <data/case-tmpfile.h>
+#include "data/case-tmpfile.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <libpspp/assertion.h>
-#include <libpspp/taint.h>
-#include <libpspp/ext-array.h>
+#include "libpspp/assertion.h"
+#include "libpspp/taint.h"
+#include "libpspp/ext-array.h"
-#include "error.h"
-#include "xalloc.h"
+#include "gl/xalloc.h"
/* A temporary file that stores an array of cases. */
struct case_tmpfile
static void *
value_to_data (const union value *value_, int width)
{
- union value *value = (union value *) value_;
+ union value *value = CONST_CAST (union value *, value_);
assert (sizeof value->f == sizeof (double));
if (width == 0)
return &value->f;