I'll assume that you are talking about the United States, and I'll assume that both rental activities are "passive" activities.
There is a rule that passive activity losses can only be deducted against passive activity gains. So if you have a net loss over all of your passive activities, you cannot deduct that loss against your nonpassive income; instead, you would have to carry that loss forward into a future year, and if you have net passive activity gains in a future year, you can deduct those losses against those net gains in the future year.
In your case, your are net even on your passive activities. You have loss in one passive activity and gain in another passive activity, and they cancel out. Since you do not have a net passive activity loss overall, all of your passive activity losses are allowed. So in your case, that would mean you would have 0 net rental income overall.