g_debug("GritsPluginElev: load_bil %p", data);
if (len != TILE_SIZE) {
g_warning("GritsPluginElev: _load_bil - unexpected tile size %ld, != %ld",
- len, TILE_SIZE);
+ (glong)len, (glong)TILE_SIZE);
g_free(data);
return NULL;
}
void chunk_callback(gsize cur, gsize total, gpointer _state)
{
struct CacheState *state = _state;
- g_message("chunk_callback: %ld/%ld", cur, total);
+ g_message("chunk_callback: %ld/%ld", (glong)cur, (glong)total);
if (state->progress == NULL) {
state->progress = gtk_progress_bar_new();