/*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
*
* 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
return 0;
}
- FILE *input = fopen(argv[1], "r");
- FILE *output = fopen(argv[2], "w+");
+ FILE *input = fopen(argv[1], "rb");
+ FILE *output = fopen(argv[2], "wb+");
if (!input) g_error("error opening input");
if (!output) g_error("error opening output");