Last BG tested was Stone Control and there the color didn't change after go back.
This was the like causing the warning:
sprintf(output, "%s : Cannot use team skill %s. %I64i seconds remaining................", bg->g->name, skill_get_desc(skillnum), seconds);
And using %ld instead of %I64i did the trick (we are using prere and latest rathena version).