I think it might depend on the bank that you're sending in the deposit for. I freaked out for a second because I just opened a bank account and had to use a cc to put the minimum for the account in and it hadn't occurred to me that it might be charged as a cash advance.
Just checked, and I don't believe it was. The transaction came up as "PNC BANK RETAIL." That makes me seem like PNC specifically made it so it wouldn't charge as a cash advance.